git.droids-corp.org
/
git-central.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b5e7f
)
Fix variable name stomp.
author
Stephen Haberman
<shaberman@payflex.com>
Mon, 23 Jun 2008 20:39:37 +0000
(15:39 -0500)
committer
Stephen Haberman
<shaberman@payflex.com>
Mon, 23 Jun 2008 20:39:37 +0000
(15:39 -0500)
server/post-receive-trac.py
patch
|
blob
|
history
diff --git
a/server/post-receive-trac.py
b/server/post-receive-trac.py
index
074c4ba
..
383521b
100644
(file)
--- a/
server/post-receive-trac.py
+++ b/
server/post-receive-trac.py
@@
-41,9
+41,9
@@
repos.sync()
changeset = repos.get_changeset(rev)
-for command, ticket
s
in commandPattern.findall(changeset.message):
+for command, ticket
List
in commandPattern.findall(changeset.message):
if commands.has_key(command.lower()):
- for ticketId in ticketPattern.findall(ticket
s
):
+ for ticketId in ticketPattern.findall(ticket
List
):
tickets.setdefault(ticketId, []).append(commands[command.lower()])
for ticketId, commands in tickets.iteritems():