Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sjhbuild
diff options
context:
space:
mode:
authorSascha Silbe <sascha@silbe.org>2009-09-27 17:24:38 (GMT)
committer Sascha Silbe <sascha@silbe.org>2009-09-27 17:24:38 (GMT)
commitb458eb1b017aa1d72b8d199988615834b7d924df (patch)
tree7f9da8f138403b083fc217abcee5ccf6fafe9209 /sjhbuild
parent31140fd066aa85f639dabaf966268a1892a0005a (diff)
print error if lsb_release could not be run (#1431)
Diffstat (limited to 'sjhbuild')
-rw-r--r--sjhbuild/sysdeps.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sjhbuild/sysdeps.py b/sjhbuild/sysdeps.py
index 225f17d..a328ab2 100644
--- a/sjhbuild/sysdeps.py
+++ b/sjhbuild/sysdeps.py
@@ -38,9 +38,8 @@ def get_distribution():
_cached_dname = _pipe_lower(['lsb_release', '-is'])
_cached_dversion = _pipe_lower(['lsb_release', '-rs'])
- # pylint: disable-msg=W0704
except OSError:
- pass
+ sys.stderr.write('ERROR: Could not run lsb_release. Is it installed?')
return _cached_dname, _cached_dversion