From 376abae717278ae6b7d75f481369dc58dfa2c61d Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 13 Jun 2015 13:32:51 +0200 Subject: Test for int before hex in get_value(). More common. --- kconfiglib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3