Style: fix IGNORE_STYLE so it isn't required on the command line.
authorAli Saidi <saidi@eecs.umich.edu>
Mon, 13 Aug 2007 02:44:14 +0000 (22:44 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Mon, 13 Aug 2007 02:44:14 +0000 (22:44 -0400)
--HG--
extra : convert_revision : 42ff16a2ae0316cc4b70ade961a50d5d4a5eb950

SConstruct

index 82a281190c80aa4bf1f11cf286ce6ea853bf1341..30c1ed0a637ec7fc840ded00983a68e9a60999e8 100644 (file)
@@ -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())