Simple CPU: Added code that will split requests that cross block boundaries into...
[gem5.git] / 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())