twistedchecker fails when it encounters emacs backup files

Bug #1219555 reported by Richard Wall on 2013-09-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I ran it on my twisted branch and got this

(twistedchecker)[richard@zorin add-setup-1084552]$ twistedchecker twisted
Traceback (most recent call last):
  File "/home/richard/.virtualenvs/twistedchecker/bin/twistedchecker", line 10, in <module>
  File "/home/richard/projects/TwistedChecker/branches/add-setup-1084552/twistedchecker/core/", line 320, in run
  File "/home/richard/projects/TwistedChecker/branches/add-setup-1084552/twistedchecker/core/", line 288, in setNameExceptions
    patternsFunc, patternsClass = findAllExceptions(path)
  File "/home/richard/projects/TwistedChecker/branches/add-setup-1084552/twistedchecker/core/", line 83, in findAllExceptions
    findPatternsInFile(open(pathFile).read(), finder)
IOError: [Errno 2] No such file or directory: '/home/richard/projects/Twisted/branches/static-path-3765/twisted/web/'

It should only examine actual python modules.

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

Other bug subscribers