Style: fix IGNORE_STYLE so it isn't required on the command line.
--HG-- extra : convert_revision : 42ff16a2ae0316cc4b70ade961a50d5d4a5eb950
This commit is contained in:
parent
e9ddc7fbca
commit
ce219738b9
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ pretxncommit.style = python:style.check_whitespace
|
|||
""" % (ROOT)
|
||||
sys.exit(1)
|
||||
|
||||
if ARGUMENTS['IGNORE_STYLE'] != 'True' and isdir(joinpath(ROOT, '.hg')):
|
||||
if ARGUMENTS.get('IGNORE_STYLE') != 'True' and isdir(joinpath(ROOT, '.hg')):
|
||||
try:
|
||||
from mercurial import ui
|
||||
check_style_hook(ui.ui())
|
||||
|
|
Loading…
Reference in a new issue