Commits

Ian Cordasco committed 20865ae Merge

Merged in develop (pull request #35)

Fix mercurial hook, issue #88

Comments (0)

Files changed (1)

 import sys
 from subprocess import Popen, PIPE
 try:
+    # The 'demandimport' breaks pyflakes and flake8._pyflakes
+    from mercurial import demandimport
+    demandimport.disable()
+except ImportError:
+    pass
+try:
     from configparser import ConfigParser
 except ImportError:   # Python 2
     from ConfigParser import ConfigParser