Suppress deprecation warnings in intltool-update

This commit is contained in:
Nick Hall 2015-08-08 21:30:37 +01:00
parent 91934419c0
commit 6ff73c4e36

View File

@ -91,7 +91,7 @@ def intltool_version():
except:
return (0,0,0)
else:
cmd = 'intltool-update --version | head -1 | cut -d" " -f3'
cmd = 'intltool-update --version 2> /dev/null | head -1 | cut -d" " -f3'
retcode, version_str = subprocess.getstatusoutput(cmd)
if retcode != 0:
return None