Commits

Stefan Scherfke  committed 7672fe7

Fixed hg hook.

  • Participants
  • Parent commits a0acea6

Comments (0)

Files changed (1)

File flake8/run.py

 """
 import sys
 import os
+import os.path
 
 from flake8.util import skip_file
 from flake8 import pep8
     seen = set()
     for rev in xrange(repo[kwargs['node']], len(repo)):
         for file_ in repo[rev].files():
+            file_ = os.path.join(repo.root, file_)
             if file_ in seen:
                 continue
             seen.add(file_)
 class _PEP8Options(object):
     exclude = select = []
     show_pep8 = show_source = quiet = verbose = testsuite = False
-    repeat = True
-    messages = counters = {}
+    no_repeat = False
+    counters = {}
+    messages = {}
     ignore = pep8.DEFAULT_IGNORE