diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-04-27 00:35:19 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-04-27 00:36:54 +0200 |
commit | 4d0cc42868f48dc6ec73d0bf89eefd90c1139db1 (patch) | |
tree | 7b1a90e2e52d8b052ce99c2e128078cc8ab8c613 /gbp/patch_series.py | |
parent | 3fd12f4e334f62ed1d129e1330a10a1a1cf4aeb8 (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.py | 2 |
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 |