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:
1246b14
)
TracZephyrPlugin: Escape @ as @@.
author
Anders Kaseorg
<andersk@mit.edu>
Tue, 30 Jun 2009 20:27:29 +0000
(16:27 -0400)
committer
Anders Kaseorg
<andersk@mit.edu>
Tue, 30 Jun 2009 20:27:29 +0000
(16:27 -0400)
(This will need to be moved if someone implements color support
later.)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
TracZephyrPlugin/ZephyrPlugin.py
patch
|
blob
|
history
diff --git
a/TracZephyrPlugin/ZephyrPlugin.py
b/TracZephyrPlugin/ZephyrPlugin.py
index 5546bda0955c260c91382d3d873d9f67be5a0260..0f40125be8d2cf7190d6df13cfa346948d547574 100644
(file)
--- a/
TracZephyrPlugin/ZephyrPlugin.py
+++ b/
TracZephyrPlugin/ZephyrPlugin.py
@@
-18,7
+18,7
@@
class ZephyrPlugin(Component):
['-c', zclass,
'-i', 'trac-#%s' % id],
stdin=subprocess.PIPE)
- p.stdin.write(message.encode('utf-8', 'replace'))
+ p.stdin.write(message.
replace('@', '@@').
encode('utf-8', 'replace'))
p.stdin.close()
p.wait()