From: Ali Saidi Date: Mon, 13 Aug 2007 02:44:14 +0000 (-0400) Subject: Style: fix IGNORE_STYLE so it isn't required on the command line. X-Git-Tag: m5_2.0_beta4~189 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce219738b9f0ae569686ba8237538bf285eadbdf;p=gem5.git Style: fix IGNORE_STYLE so it isn't required on the command line. --HG-- extra : convert_revision : 42ff16a2ae0316cc4b70ade961a50d5d4a5eb950 --- 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())