[cig-commits] r7370 - cs/buildbot/trunk/buildbot

leif at geodynamics.org leif at geodynamics.org
Thu Jun 21 21:30:50 PDT 2007


Author: leif
Date: 2007-06-21 21:30:50 -0700 (Thu, 21 Jun 2007)
New Revision: 7370

Modified:
   cs/buildbot/trunk/buildbot/meta.py
Log:
Fixed scoping bug.  One day I will dance on Python's grave...


Modified: cs/buildbot/trunk/buildbot/meta.py
===================================================================
--- cs/buildbot/trunk/buildbot/meta.py	2007-06-22 04:16:44 UTC (rev 7369)
+++ cs/buildbot/trunk/buildbot/meta.py	2007-06-22 04:30:50 UTC (rev 7370)
@@ -29,6 +29,7 @@
 
         for sectionCls in cls.sections:
             sectionDct = parser._sections.get(sectionCls._name, None)
+            section = None
             if sectionDct is not None:
                 section = sectionCls()
                 for attr in section._attrs:



More information about the cig-commits mailing list