Merged in develop (pull request #35)

Fix mercurial hook, issue #88
This commit is contained in:
Ian Cordasco 2013-04-01 09:50:13 -04:00
commit 57417b435a

View file

@ -3,6 +3,12 @@ from __future__ import with_statement
import os
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