So 'from ... import' lines are correctly recognized. The following example from pylint was not being correctly parsed:
from pylint import run_pylint
distutils scripts -- correct order of operations so 'from ... import'…
… lines are correctly recognized.
Thanks for the PR!
Someone will need to write a test before this can be merged.
Add unit tests for import and from
The fix (for my original mistake :-) ) looks good.
I've pulled the branch into my clone so that travis can check it.
3 out of 4 are OK. The python 3.2 one isn't, but that looks like an unrelated anomaly (a number of logging handlers that is 1 off or so).
I'm seeing the same problem with docutils' scripts, so the fix is very welcome.
Merge pull request #134 from AaronAsAChimp/distutils-from
distutils scripts -- correct order of operations
Changelog entry for #134 fix.