]> andersk Git - zcommit.git/commitdiff
Convert things to strings.
authorGreg Brockman <gdb@mit.edu>
Thu, 25 Mar 2010 00:28:54 +0000 (20:28 -0400)
committerGreg Brockman <gdb@mit.edu>
Thu, 25 Mar 2010 00:29:41 +0000 (20:29 -0400)
The logs seem to indicate something is not a string that should be and I'm too lazy to figure out what it is right now.

zcommit.py

index 0fae9fe6dfeed73e14218e4ede2bc359dd2be820..b26c685f4b51a4441c5fe46ac16077fa9d7351f6 100755 (executable)
@@ -35,7 +35,7 @@ msg: %(msg)s""" % {'sender' : sender,
                    'msg' : msg})
     cmd = [ZWRITE, '-S', sender, '-c', klass, '-i', instance,
            '-s', zsig, '-d', '-m', msg]
-    subprocess.check_call(cmd)
+    subprocess.check_call([str(p) for p in cmd])
 
 class Application(object):
     @cherrypy.expose
This page took 0.058338 seconds and 5 git commands to generate.