summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-13 13:32:51 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-13 13:35:57 +0200
commit376abae717278ae6b7d75f481369dc58dfa2c61d (patch)
treebd5bcc11b7857cefc5c59e883d11248f0b5a0cea
parent8a92caf9eefb2b167e2197cc0164b86523839b0c (diff)
Test for int before hex in get_value().
More common.
-rw-r--r--kconfiglib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 91646a3..4efb08b 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -1888,7 +1888,7 @@ class Symbol(Item):
if new_val == "m" and self.type == BOOL:
new_val = "y"
- elif self.type == HEX or self.type == INT:
+ elif self.type == INT or self.type == HEX:
has_active_range = False
low = None
high = None