[SCM] Git repository for devscripts branch, master, updated. v2.11.7-20-gb6d996e

Stefano Rivera stefanor at debian.org
Mon May 28 17:30:34 UTC 2012


The following commit has been merged in the master branch:
commit b6d996e846214151e1b5bf5caa49ddce0d01d78c
Author: Stefano Rivera <stefanor at debian.org>
Date:   Mon May 28 18:30:29 2012 +0100

    Mention scope in escape_arg docstring

diff --git a/scripts/devscripts/logger.py b/scripts/devscripts/logger.py
index 07fb0b7..5caeabd 100644
--- a/scripts/devscripts/logger.py
+++ b/scripts/devscripts/logger.py
@@ -22,7 +22,9 @@ import sys
 
 
 def escape_arg(arg):
-    "Shell-escpae arg, if necessary"
+    """Shell-escpae arg, if necessary.
+    Fairly simplistic, doesn't escape anything except whitespace.
+    """
     if ' ' not in arg:
         return arg
     return '"%s"' % arg.replace('\\', r'\\').replace('"', r'\"')

-- 
Git repository for devscripts



More information about the devscripts-devel mailing list