[Zope3-checkins] SVN: zope.testing/branches/test-checkers/src/zope/testing/loggingsupport.py Aargh.

Marius Gedminas marius at pov.lt
Sat Jan 20 13:56:08 EST 2007


Log message for revision 72151:
  Aargh.
  
  

Changed:
  U   zope.testing/branches/test-checkers/src/zope/testing/loggingsupport.py

-=-
Modified: zope.testing/branches/test-checkers/src/zope/testing/loggingsupport.py
===================================================================
--- zope.testing/branches/test-checkers/src/zope/testing/loggingsupport.py	2007-01-20 18:53:05 UTC (rev 72150)
+++ zope.testing/branches/test-checkers/src/zope/testing/loggingsupport.py	2007-01-20 18:56:08 UTC (rev 72151)
@@ -157,7 +157,7 @@
                 self.warn("  logger %s disappeared" % name)
             elif name in new_state and name not in old_state:
                 self.warn("  new logger: %s" % name)
-            else:
+            elif old_state[name] == new_state[name]:
                 attrs = [attr for attr in sorted(new_state[name])
                          if old_state[name][attr] != new_state[name][attr]]
                 self.warn("  logger %s changed: %s" % (name, ', '.join(attrs)))



More information about the Zope3-Checkins mailing list