[jhbuild] Fix --nodeps handling (GNOME bug 678132)



commit 009852cf584605495eb8770d70fb037f5687d577
Author: Craig Keogh <cskeogh adam com au>
Date:   Fri Jun 15 21:46:37 2012 +0930

    Fix --nodeps handling (GNOME bug 678132)
    
    Fix --nodeps handling introducted in commit d6bbb10d6230b1d8afe86

 jhbuild/config.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/config.py b/jhbuild/config.py
index 71812c4..6c3f03d 100644
--- a/jhbuild/config.py
+++ b/jhbuild/config.py
@@ -626,7 +626,8 @@ class Config:
             except ValueError:
                 raise FatalError(_('Failed to parse \'min_age\' relative '
                                    'time'))
-        if hasattr(options, 'check_sysdeps') and options.check_sysdeps:
+        if (hasattr(options, 'check_sysdeps') and
+            options.check_sysdeps is not None):
             self.check_sysdeps = options.check_sysdeps
 
     def __setattr__(self, k, v):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]