From: Jonathan Reed Date: Fri, 1 Apr 2011 20:19:05 +0000 (-0400) Subject: Support a configurable signature for zephyrs X-Git-Url: https://sipb.mit.edu/gitweb.cgi/snippets/.git/commitdiff_plain/9bb42342dfddecffb2532b3a9e07bc571ccc92d1 Support a configurable signature for zephyrs --- diff --git a/TracZephyrPlugin/ZephyrPlugin.py b/TracZephyrPlugin/ZephyrPlugin.py index 8daedd1..673c339 100644 --- a/TracZephyrPlugin/ZephyrPlugin.py +++ b/TracZephyrPlugin/ZephyrPlugin.py @@ -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],