Suppress deprecation warnings in intltool-update
This commit is contained in:
parent
7fa9e647e5
commit
8209096b73
2
setup.py
2
setup.py
@ -91,7 +91,7 @@ def intltool_version():
|
|||||||
except:
|
except:
|
||||||
return (0,0,0)
|
return (0,0,0)
|
||||||
else:
|
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)
|
retcode, version_str = subprocess.getstatusoutput(cmd)
|
||||||
if retcode != 0:
|
if retcode != 0:
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user