]> git.droids-corp.org - git-central.git/commitdiff
Fix variable name stomp.
authorStephen Haberman <shaberman@payflex.com>
Mon, 23 Jun 2008 20:39:37 +0000 (15:39 -0500)
committerStephen Haberman <shaberman@payflex.com>
Mon, 23 Jun 2008 20:39:37 +0000 (15:39 -0500)
server/post-receive-trac.py

index 074c4ba29e1470188bd96ddabe56b9bc6d1307cd..383521b24c52fbb9ed35fb4086f223355f316450 100644 (file)
@@ -41,9 +41,9 @@ repos.sync()
 
 changeset = repos.get_changeset(rev)
 
-for command, tickets in commandPattern.findall(changeset.message):
+for command, ticketList in commandPattern.findall(changeset.message):
        if commands.has_key(command.lower()):
-               for ticketId in ticketPattern.findall(tickets):
+               for ticketId in ticketPattern.findall(ticketList):
                        tickets.setdefault(ticketId, []).append(commands[command.lower()])
 
 for ticketId, commands in tickets.iteritems():