ImportError running pocketlint bin script

Bug #1103065 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pocket-lint
Fix Released
High
Curtis Hovey

Bug Description

Running pocketlint *.something errors
Traceback (most recent call last):
  File "/usr/bin/pocketlint", line 8, in <module>
    from pocketlint.formatcheck import main
  File "/usr/lib/pymodules/python2.7/pocketlint/formatcheck.py", line 54, in <module>
    from formatdoctest import DoctestReviewer
ImportError: No module named formatdoctest

formatcheck.py claims to use absolute_import, but the imports from doctest and contrib are in fact relative.

Tags: error
Curtis Hovey (sinzui)
Changed in pocket-lint:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in pocket-lint:
milestone: none → 1.0.0
assignee: nobody → Curtis Hovey (sinzui)
Curtis Hovey (sinzui)
Changed in pocket-lint:
status: Fix Committed → Fix Released
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.