From: Greg Brockman Date: Thu, 25 Mar 2010 00:28:54 +0000 (-0400) Subject: Convert things to strings. X-Git-Url: http://andersk.mit.edu/gitweb/zcommit.git/commitdiff_plain/ce99754cfc578c11dd0eee56f4172d8943a007d2 Convert things to strings. 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. --- diff --git a/zcommit.py b/zcommit.py index 0fae9fe..b26c685 100755 --- a/zcommit.py +++ b/zcommit.py @@ -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