summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-03-04 00:11:02 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-03-04 00:11:02 -0800
commit674b94128284796c90f12e16d5029ce693464deb (patch)
tree6d038389c681f5e90275b16abc3c8d7a178aa855 /SConstruct
parent96e0f3bda58554f6125e824833b7399f1dcf77a1 (diff)
downloadgem5-674b94128284796c90f12e16d5029ce693464deb.tar.xz
SCons: Fix the polarity on the --ignore-style check.
Diffstat (limited to 'SConstruct')
-rwxr-xr-xSConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 89036c31f..8f049e749 100755
--- a/SConstruct
+++ b/SConstruct
@@ -239,7 +239,7 @@ if hgdir.exists():
# 2) Ensure that the style hook is in place.
try:
ui = None
- if GetOption('ignore_style'):
+ if not GetOption('ignore_style'):
from mercurial import ui
ui = ui.ui()
except ImportError: