From ce219738b9f0ae569686ba8237538bf285eadbdf Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Sun, 12 Aug 2007 22:44:14 -0400 Subject: Style: fix IGNORE_STYLE so it isn't required on the command line. --HG-- extra : convert_revision : 42ff16a2ae0316cc4b70ade961a50d5d4a5eb950 --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 82a281190..30c1ed0a6 100644 --- a/SConstruct +++ b/SConstruct @@ -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()) -- cgit v1.2.3