Philipp Hörist pushed to branch gajim_1.0 at gajim / gajim
Commits: 84748928 by André Apitzsch at 2018-02-23T00:16:24+01:00 Silence 'git unavailable' message
- - - - -
1 changed file:
- gajim/__init__.py
Changes:
===================================== gajim/__init__.py ===================================== --- a/gajim/__init__.py +++ b/gajim/__init__.py @@ -3,10 +3,10 @@ import subprocess __version__ = "0.99.2"
try: - node = subprocess.Popen('git rev-parse --short=12 HEAD', shell=True, - stdout=subprocess.PIPE).communicate()[0] + p = subprocess.Popen('git rev-parse --short=12 HEAD', shell=True, + stdout=subprocess.PIPE, stderr=subprocess.DEVNULL) + node = p.communicate()[0] if node: __version__ += '+' + node.decode('utf-8').strip() except Exception: pass -
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/84748928d41e11bc57d5b7de7d5f0fb59ff...
--- View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/84748928d41e11bc57d5b7de7d5f0fb59ff... You're receiving this email because of your account on dev.gajim.org.