subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1395381 - /subversion/trunk/tools/server-side/svnpubsub/irkerbridge.py
Date Sun, 07 Oct 2012 20:41:42 GMT
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] + '...'



Mime
View raw message