From 64c3360b0875278adcfd66f717dbf13791ad1993 Mon Sep 17 00:00:00 2001 From: Stephen Haberman Date: Mon, 23 Jun 2008 15:39:37 -0500 Subject: [PATCH] Fix variable name stomp. --- server/post-receive-trac.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/post-receive-trac.py b/server/post-receive-trac.py index 074c4ba..383521b 100644 --- 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, 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(): -- 2.39.5