From 6ff73c4e36bff9d0ba020106cff861f6a154aa65 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 8 Aug 2015 21:30:37 +0100 Subject: [PATCH] Suppress deprecation warnings in intltool-update --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 39ea68c6c..7e8ecb373 100644 --- a/setup.py +++ b/setup.py @@ -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