commit | 8b5eb2f813b8e22e97308c18a61f1824f962604c | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Jan 27 00:06:54 2011 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Jan 27 00:06:54 2011 +0000 |
tree | 109ec6b39ded605baffc1a676ceaa20a5ef2e415 | |
parent | 528d9f6ead819aff0862f5a7ce1574da13689c75 [diff] |
Issue #11020: Command-line pyclbr was broken because of missing 2-to-3 conversion. (Patch reviewed by David Murray.)
diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py index c87ec66..52cbdd5 100644 --- a/Lib/pyclbr.py +++ b/Lib/pyclbr.py
@@ -325,7 +325,7 @@ else: path = [] dict = readmodule_ex(mod, path) - objs = dict.values() + objs = list(dict.values()) objs.sort(key=lambda a: getattr(a, 'lineno', 0)) for obj in objs: if isinstance(obj, Class):