Ticket #1431: lsb_release.patch
File lsb_release.patch, 459 bytes (added by Samus_, 15 years ago) |
---|
-
sjhbuild/sysdeps.py
diff --git a/sjhbuild/sysdeps.py b/sjhbuild/sysdeps.py index 225f17d..ad31b3c 100644
a b def get_distribution(): 39 39 _cached_dversion = _pipe_lower(['lsb_release', '-rs']) 40 40 41 41 # pylint: disable-msg=W0704 42 except OSError :43 pass42 except OSError as msg: 43 sys.stderr.write('WARNING: lsb_release failed "%s"\n' % msg) 44 44 45 45 return _cached_dname, _cached_dversion 46 46