summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-08-12 22:44:14 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-08-12 22:44:14 -0400
commitce219738b9f0ae569686ba8237538bf285eadbdf (patch)
tree53d6c7699f245eddca6fb9e14d5d4dce1b60e44b
parente9ddc7fbca1330322c7394fcc3e241eb9fdfc105 (diff)
downloadgem5-ce219738b9f0ae569686ba8237538bf285eadbdf.tar.xz
Style: fix IGNORE_STYLE so it isn't required on the command line.
--HG-- extra : convert_revision : 42ff16a2ae0316cc4b70ade961a50d5d4a5eb950
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
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())