commit | cd4a21bb8ea184c32d33d534d42bc08b57b405fb | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sat Feb 06 23:34:10 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Sat Feb 06 23:34:10 2010 +0000 |
tree | 68a3315c73b810b11ab07509f5320f49f46b8694 | |
parent | bd564c3c21ef4c6d6cb0070870edd9d2f7c89d11 [diff] [blame] |
Fix more unbound locals in code paths that do not seem to be used.
diff --git a/Lib/test/test_cfgparser.py b/Lib/test/test_cfgparser.py index c7d6a94..fdd3c0c 100644 --- a/Lib/test/test_cfgparser.py +++ b/Lib/test/test_cfgparser.py
@@ -17,8 +17,9 @@ return result def values(self): + # XXX never used? result = self.items() - return [i[1] for i in values] + return [i[1] for i in result] def iteritems(self): return iter(self.items()) def iterkeys(self): return iter(self.keys())