Commits

John Mulligan  committed 0502995

fix dumb mistake in configreader.items()

  • Participants
  • Parent commits 7352d57

Comments (0)

Files changed (1)

File vanity/configreader.py

     def items(self, section):
         """Generate key-value tuples from the given section name.
         """
-        for section, key in self._keys:
-            if section == section and key is not None:
+        for sct, key in self._keys:
+            if sct == section and key is not None:
                 yield (key, self._get(section, key))
 
     def allitems(self):