]> andersk Git - zcommit.git/blobdiff - zcommit.py
.htaccess: Do not use [QSA] on the RewriteRule.
[zcommit.git] / zcommit.py
index 0fae9fe6dfeed73e14218e4ede2bc359dd2be820..6c66b50095e31968726af683b2d4607347276376 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
@@ -69,7 +69,7 @@ any of the following optional key/value parameters:
 
 <ul>
 <li> <tt>/instance/$instance</tt> </li>
-<li> <tt>/zsig/$zsig</tt> </li>
+<li> <tt>/zsig/$zsig</tt> (sets the prefix of the zsig; the postfix is always the branch name) </li>
 <li> <tt>/sender/$sender</tt> </li>
 </ul>
 """
@@ -105,7 +105,7 @@ any of the following optional key/value parameters:
                     zsig = '%s: %s' % (opts['zsig'], zsig)
                 sender = opts.get('sender', 'daemon.zcommit')
                 logger.debug('Set zsig')
-                for c in reversed(payload['commits']):
+                for c in payload['commits']:
                     inst = opts.get('instance', c['id'][:8])
                     actions = []
                     if c.get('added'):
This page took 0.157974 seconds and 4 git commands to generate.