Philipp Hörist pushed to branch master at gajim / gajim
Commits: c74c8885 by André Apitzsch at 2018-02-25T21:35:19+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/c74c888506777ce137688fc58a2b7a42932...
--- View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/c74c888506777ce137688fc58a2b7a42932... You're receiving this email because of your account on dev.gajim.org.