Skip to content

Commit

Permalink
Fix analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsisazevedo committed Jul 31, 2011
1 parent 0068c52 commit 59976db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manouche_us/project/analyzer.py
Expand Up @@ -102,5 +102,6 @@ class PEP8Analyzer(BaseAnalyzer):
def analyze(self):
self.get_project_modules()
os.system("pep8 --statistics " + self.project.source + " --count" + " | grep ^[0-9] | cut -d' ' -f1 >> " + self.project.source + "output-pep8.txt")
pep8_output = open(self.project.source + "output-pep8.txt", "r")

import pdb; pdb.set_trace()
return sum( map( int, pep8_output.readlines() ) )

0 comments on commit 59976db

Please sign in to comment.