sipb-www
/
snippets
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f0630d
)
TracZephyrPlugin: Permit using a custom command (e.g. zcrypt)
author
Geoffrey Thomas
<geofft@mit.edu>
Mon, 29 Jun 2009 15:10:04 +0000
(11:10 -0400)
committer
Geoffrey Thomas
<geofft@mit.edu>
Mon, 29 Jun 2009 15:10:04 +0000
(11:10 -0400)
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
TracZephyrPlugin/ZephyrPlugin.py
patch
|
blob
|
history
diff --git
a/TracZephyrPlugin/ZephyrPlugin.py
b/TracZephyrPlugin/ZephyrPlugin.py
index 791b6a35a2603bb7d87e366088d8a20154fe9a1c..ad9186582125f96d693ca119e12715bc3203f358 100644
(file)
--- a/
TracZephyrPlugin/ZephyrPlugin.py
+++ b/
TracZephyrPlugin/ZephyrPlugin.py
@@
-10,7
+10,10
@@
class ZephyrPlugin(Component):
zclass = self.config.get('ZephyrPlugin', 'class')
if zclass == '':
return
- p = subprocess.Popen(['zwrite', '-q', '-l', '-d',
+ command = self.config.get('ZephyrPlugin', 'command')
+ if not command:
+ command = 'zwrite'
+ p = subprocess.Popen([command, '-q', '-l', '-d',
'-c', zclass,
'-i', 'trac-#%s' % id],
stdin=subprocess.PIPE)