Support a configurable signature for zephyrs
authorJonathan Reed <jdreed@mit.edu>
Fri, 1 Apr 2011 20:19:05 +0000 (16:19 -0400)
committerJonathan Reed <jdreed@mit.edu>
Fri, 1 Apr 2011 20:19:05 +0000 (16:19 -0400)
TracZephyrPlugin/ZephyrPlugin.py

index 8daedd18102d71338c746c270071c6a024a71049..673c339b99dfd5eff8b2b571dfa855a5e6f83315 100644 (file)
@@ -22,6 +22,9 @@ class ZephyrPlugin(Component):
         opcode = self.config.get('ZephyrPlugin', 'opcode')
         if opcode:
             command += ['-O', opcode]
+        signature = self.config.get('ZephyrPlugin', 'signature')
+        if signature:
+            command += ['-s', signature]
         p = subprocess.Popen(command +
                              ['-c', zclass,
                               '-i', 'trac-#%s' % id],