[Reportbug-commits] [reportbug] 02/03: dont remove the first character from the filename when calling an external MUA; Closes: #846778

Sandro Tosi morph at moszumanska.debian.org
Thu Dec 8 00:27:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository reportbug.

commit 70c147fb43948a8caaf6853db085b1dbfc2f006e
Author: Sandro Tosi <morph at debian.org>
Date:   Wed Dec 7 18:50:49 2016 -0500

    dont remove the first character from the filename when calling an external MUA; Closes: #846778
---
 debian/changelog   | 5 ++++-
 reportbug/utils.py | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 10af49c..dc4e6ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,11 @@ reportbug (7.0.1) UNRELEASED; urgency=medium
 
   * debian/control
     - add python3-requests to python3-reportbug Depends; Closes: #846657
+  * reportbug/utils.py
+    - dont remove the first character from the filename when calling an external
+      MUA; Closes: #846778
 
- -- Sandro Tosi <morph at debian.org>  Wed, 07 Dec 2016 18:42:48 -0500
+ -- Sandro Tosi <morph at debian.org>  Wed, 07 Dec 2016 18:50:02 -0500
 
 reportbug (7.0.0) experimental; urgency=medium
 
diff --git a/reportbug/utils.py b/reportbug/utils.py
index 0995b49..89e0991 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -875,7 +875,7 @@ class Mua:
         mua = self.command
         if '%s' not in mua:
             mua += ' %s'
-        return ui.system(mua % pipes.quote(filename)[1:])
+        return ui.system(mua % pipes.quote(filename))
 
     def get_name(self):
         return self.name

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git



More information about the Reportbug-commits mailing list