Philipp Hörist pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/__init__.py
    ... ... @@ -3,10 +3,10 @@ import subprocess
    3 3
     __version__ = "0.99.2"
    
    4 4
     
    
    5 5
     try:
    
    6
    -    node = subprocess.Popen('git rev-parse --short=12 HEAD', shell=True,
    
    7
    -        stdout=subprocess.PIPE).communicate()[0]
    
    6
    +    p = subprocess.Popen('git rev-parse --short=12 HEAD', shell=True,
    
    7
    +                          stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
    
    8
    +    node = p.communicate()[0]
    
    8 9
         if node:
    
    9 10
             __version__ += '+' + node.decode('utf-8').strip()
    
    10 11
     except Exception:
    
    11 12
         pass
    12
    -