diff options
Diffstat (limited to 'sjhbuild')
-rw-r--r-- | sjhbuild/sysdeps.py | 3 |
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 |