-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
I've just got something like that:
findimports -dnc <the_package_dir>
Traceback (most recent call last):
File "/usr/local/bin/findimports", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/findimports.py", line 832, in main
getattr(g, opts.action)()
File "/usr/local/lib/python2.7/dist-packages/findimports.py", line 703, in printImportedNames
print(" %s" % "\n ".join(imp.name for imp in module.imported_names))
AttributeError: 'ModuleCycle' object has no attribute 'imported_names'
Also effect of mixing -n
with -d
(without -c
) is not described in help.
When used in following order: -dn
then -d
is ignored and with-nd
then -d
is ignored.