Issue 11020: command-line pyclbr broken due to missing 2-to-3 conversion.
This commit is contained in:
parent
6c3f01791b
commit
d62522ab56
|
@ -325,7 +325,7 @@ def _main():
|
|||
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):
|
||||
|
|
Loading…
Reference in New Issue