[Reportbug-commits] [reportbug] 16/27: --draft= with missing directory was failing badly

Sandro Tosi morph at moszumanska.debian.org
Mon May 29 20:14:06 UTC 2017


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

morph pushed a commit to branch master
in repository reportbug.

commit 0367aea7e9d0f019334586408b19e7bbb97955c3
Author: Gaetano Guerriero <gaetano.guerriero at spacespa.it>
Date:   Tue Mar 1 11:06:30 2016 +0100

    --draft= with missing directory was failing badly
---
 bin/reportbug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reportbug b/bin/reportbug
index e2247c6..7eda598 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -1051,7 +1051,7 @@ def main():
     if options.draftpath:
         options.draftpath = os.path.expanduser(options.draftpath)
         if not os.path.exists(options.draftpath):
-            print("The directory % does not exist; exiting." % options.draftpath)
+            ewrite("The directory %s does not exist; exiting.\n" % options.draftpath)
             sys.exit(1)
 
     if options.mua and not options.template:

-- 
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