Misleading 'unused import' message

Bug #1512877 reported by Corey Farwell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pyflakes
New
Undecided
Unassigned

Bug Description

```
coreyf@frewbook-pro /tmp> cat a.py
import a.b
```

```
coreyf@frewbook-pro /tmp> flake8 a.py
a.py:1:1: F401 'a' imported but unused
```

Expected output:

```
coreyf@frewbook-pro /tmp> flake8 a.py
a.py:1:1: F401 'a.b' imported but unused
```

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.