]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Properly quote args that are strings
authorZack Cerza <zack.cerza@inktank.com>
Mon, 13 Oct 2014 22:17:43 +0000 (16:17 -0600)
committerZack Cerza <zack.cerza@inktank.com>
Mon, 13 Oct 2014 22:39:13 +0000 (16:39 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/orchestra/run.py

index ea41efda52b0e05c0b90ed68479c123a2c5dd515..6c22d0bfb14bb2425d884e77bc26e5fc2cadbf20 100644 (file)
@@ -157,6 +157,9 @@ def quote(args):
     """
     Internal quote wrapper.
     """
+    if isinstance(args, basestring):
+        return args
+
     def _quote(args):
         """
         Handle quoted string, testing for raw charaters.