1. Tom Christie
  2. setuptools_hg

Commits

Jannis Leidel  committed 523d9af

Made import check a bit more forgiving

Comments (0)

Files changed (1)

File setuptools_hg.py Modified

View file
  • Ignore whitespace
  • Hide word diff
 try:
     from mercurial import hg, ui, cmdutil
     from mercurial.repo import RepoError
-except ImportError:
+except:
     hg = None
 
 if os.getenv('HG_SETUPTOOLS_FORCE_CMD'):