"make lint" stumbles over softlinks

Bug #606768 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Jeroen T. Vermeulen

Bug Description

A fix that Jono and I just agreed on involves adding a softlink to the codebase. But it looks as if "make lint" fails to strip the @ that bzr adds to filenames to denote symlinks:

Linting changed files:
  standard_test_template.py@

Traceback (most recent call last):
  File "/usr/bin/pocketlint", line 6, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib/pymodules/python2.6/pocketlint/formatcheck.py", line 511, in main
    check_sources(sources, reporter)
  File "/usr/lib/pymodules/python2.6/pocketlint/formatcheck.py", line 492, in check_sources
    with open(file_path) as file_:
IOError: [Errno 2] No such file or directory: 'standard_test_template.py@'

Related branches

Changed in launchpad:
status: New → In Progress
assignee: nobody → Jeroen T. Vermeulen (jtv)
milestone: none → 10.08
Changed in launchpad:
status: In Progress → Fix Committed
affects: launchpad → launchpad-foundations
Changed in launchpad-foundations:
milestone: 10.08 → none
milestone: none → 10.08
importance: Undecided → Wishlist
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
importance: Wishlist → Low
tags: added: features
tags: added: feature
removed: features
Changed in launchpad-foundations:
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.