mitsuhiko/python-modernize — pull request #5 by bfroehle (2012-09-28 21:11:23+00:00)
Title: Fix `check_future_import`.

Previously the test never evaluated to True because `node.type` could not be simultanously equal to `syms.import_from` (297) and `token.NAME` (1).

In addition, avoid printing unnecessary debugging output.