[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.48-33-gc3b7b47

Andreas Beckmann debian at abeckmann.de
Tue Dec 11 16:27:50 UTC 2012


The following commit has been merged in the piatti branch:
commit 4dafc8a2b24a5a287ab38d4623893a6bdb1b224e
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sun Nov 4 19:45:44 2012 +0100

    p: enclose command line arguments in ''
    
    so spaces within arguments are visibly preserved in the logfile
    (this is not a perfect solution as the arguments may contain ' themselves
    which is not escaped properly by this hack)
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/piuparts.py b/piuparts.py
index 05f9ceb..6cff1f5 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -2816,7 +2816,7 @@ def main():
     logging.info("FAQ available at http://wiki.debian.org/piuparts/FAQ")
     logging.info("-" * 78)
     logging.info("piuparts version %s starting up." % VERSION)
-    logging.info("Command line arguments: %s" % " ".join(sys.argv))
+    logging.info("Command line arguments: '%s'" % "' '".join(sys.argv))
     logging.info("Running on: %s %s %s %s %s" % os.uname())
 
     # Make sure debconf does not ask questions and stop everything.

-- 
piuparts git repository



More information about the Piuparts-commits mailing list