Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sjhbuild/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'sjhbuild/config.py')
-rw-r--r--sjhbuild/config.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/sjhbuild/config.py b/sjhbuild/config.py
index 321669c..d209a29 100644
--- a/sjhbuild/config.py
+++ b/sjhbuild/config.py
@@ -17,8 +17,13 @@ class Config(jhbuild.config.Config):
self.checkoutroot = os.path.join(self.base_dir, 'source')
self.tarballdir = os.path.join(self.base_dir, 'source')
-
- for package, source in sysdeps.get_packages():
+
+ deps = sysdeps.get_packages()
+ if not deps:
+ sys.stderr.write("ERROR: Dependencies information is missing (unknown distribution/version).\n")
+ sys.exit(126)
+
+ for package, source in deps :
if source and source not in self.skip:
self.skip.append(source)