control: tags -1 patch

On 12 Jul 2017 Thorsten Glaser wrote:
> I think the “application/x-xz; charset=binary” line should go
> elsewhere, perhaps into the eMail?

It is the output of a debug print() inserted while porting the code to
python 3. It can just be dropped. Patch attached.
>From bf3724a200d9db947c77c1d9ce0eb61536a0bade Mon Sep 17 00:00:00 2001
From: Nis Martensen <[email protected]>
Date: Sat, 9 Sep 2017 23:41:48 +0200
Subject: [PATCH 3/3] Drop leftover debug print()

---
 reportbug/submit.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/reportbug/submit.py b/reportbug/submit.py
index 4940538..1eb1b71 100644
--- a/reportbug/submit.py
+++ b/reportbug/submit.py
@@ -147,7 +147,6 @@ def mime_attach(body, attachments, charset, body_charset=None):
         cset = charset
         info = Popen(['file', '--mime', '--brief', attachment],
                      stdout=PIPE, stderr=STDOUT).communicate()[0].decode('ascii')
-        print(info)
         if info:
             match = re.match(r'([^;, ]*)(,[^;]+)?(?:; )?(.*)', info)
             if match:
-- 
2.11.0

_______________________________________________
Reportbug-maint mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint

Reply via email to