Don't setdefault in mymf.import_module if import_hook hasn't been run. master
authorW. Trevor King <wking@drexel.edu>
Sun, 9 Jan 2011 05:08:30 +0000 (00:08 -0500)
committerW. Trevor King <wking@drexel.edu>
Sun, 9 Jan 2011 05:08:30 +0000 (00:08 -0500)
commit612aad5d51e920f0efea7c148fb86c2f268a8f82
tree9ff6c1b2743f35466bcb2991ff397ff8912ebbd3
parentc5e054143c75c189120f79837acf74a703b30afb
Don't setdefault in mymf.import_module if import_hook hasn't been run.

It raised exceptions trying to get _last_caller.__name__ when
_last_caller was None.

Also:
* Add logger to py2depgraph
* Disable (for now) ModuleFinder's internal debugging.
py2depgraph.py