summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: