aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/patch_series.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-04-27 00:35:19 +0200
committerGuido Günther <agx@sigxcpu.org>2013-04-27 00:36:54 +0200
commit4d0cc42868f48dc6ec73d0bf89eefd90c1139db1 (patch)
tree7b1a90e2e52d8b052ce99c2e128078cc8ab8c613 /gbp/patch_series.py
parent3fd12f4e334f62ed1d129e1330a10a1a1cf4aeb8 (diff)
Discard git mailinfo's error message
since we don't expect it to succeed.
Diffstat (limited to 'gbp/patch_series.py')
-rw-r--r--gbp/patch_series.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/patch_series.py b/gbp/patch_series.py
index 2775cb7f..6a654469 100644
--- a/gbp/patch_series.py
+++ b/gbp/patch_series.py
@@ -62,7 +62,7 @@ class Patch(object):
"""
self.info = {}
body = tempfile.NamedTemporaryFile(prefix='gbp_')
- pipe = subprocess.Popen("git mailinfo '%s' /dev/null < '%s'" %
+ pipe = subprocess.Popen("git mailinfo '%s' /dev/null 2>/dev/null < '%s'" %
(body.name, self.path),
shell=True,
stdout=subprocess.PIPE).stdout