You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2012/10/07 22:41:42 UTC

svn commit: r1395381 - /subversion/trunk/tools/server-side/svnpubsub/irkerbridge.py

Author: danielsh
Date: Sun Oct  7 20:41:41 2012
New Revision: 1395381

URL: http://svn.apache.org/viewvc?rev=1395381&view=rev
Log:
Fix a potential bug in the "Config file error" code path.

* tools/server-side/svnpubsub/irkerbridge.py
  (BigDoEverythingClass.commit): Spell 'continue' correctly.

Modified:
    subversion/trunk/tools/server-side/svnpubsub/irkerbridge.py

Modified: subversion/trunk/tools/server-side/svnpubsub/irkerbridge.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnpubsub/irkerbridge.py?rev=1395381&r1=1395380&r2=1395381&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/irkerbridge.py (original)
+++ subversion/trunk/tools/server-side/svnpubsub/irkerbridge.py Sun Oct  7 20:41:41 2012
@@ -201,7 +201,7 @@ class BigDoEverythingClass(object):
           to_list = self.config.get(section, "to").split()
           template = self.config.get(section, "template")
           if not irker or not to_list or not template:
-            next
+            continue
           privmsg = Template(template).safe_substitute(vars(rev))
           if len(privmsg) > MAX_PRIVMSG:
             privmsg = privmsg[:MAX_PRIVMSG-3] + '...'