[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/zopeappgenerations/evolve3.py Fix logic bug in edge case

Gary Poster gary at zope.com
Thu Jan 19 23:49:14 EST 2006


Log message for revision 41375:
  Fix logic bug in edge case
  

Changed:
  U   Zope3/trunk/src/zope/app/zopeappgenerations/evolve3.py

-=-
Modified: Zope3/trunk/src/zope/app/zopeappgenerations/evolve3.py
===================================================================
--- Zope3/trunk/src/zope/app/zopeappgenerations/evolve3.py	2006-01-20 04:19:08 UTC (rev 41374)
+++ Zope3/trunk/src/zope/app/zopeappgenerations/evolve3.py	2006-01-20 04:49:14 UTC (rev 41375)
@@ -82,7 +82,7 @@
                                 # pau.keys()...
                                 ct = 0
                                 nm = '%s_%d' % (util.__name__, ct)
-                                while (nm in pau.authenticatorPlugins and
+                                while (nm in pau.authenticatorPlugins or
                                        nm in pau):
                                     ct += 1
                                     nm = '%s_%d' % (util.__name__, ct)



More information about the Zope3-Checkins mailing list