summaryrefslogtreecommitdiff
path: root/menuconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-06-15 00:35:42 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-06-15 00:35:42 +0200
commitc67d3c49e58a3affb17259c36176fb8b947cda8d (patch)
tree87e32f2545666df0778e4110848c6b1b9486e6e2 /menuconfig.py
parent2075347896ca184886926c3482dc2ffc7c7ae251 (diff)
menuconfig: Remove redundant int() argument
Base 10 is the default.
Diffstat (limited to 'menuconfig.py')
-rwxr-xr-xmenuconfig.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/menuconfig.py b/menuconfig.py
index bf8396d..9459801 100755
--- a/menuconfig.py
+++ b/menuconfig.py
@@ -2355,9 +2355,8 @@ def _is_num(name):
# they get their name as their value when the symbol is undefined.
try:
- int(name, 10)
+ int(name)
return True
-
except ValueError:
if not name.startswith(("0x", "0X")):
return False
@@ -2365,7 +2364,6 @@ def _is_num(name):
try:
int(name, 16)
return True
-
except ValueError:
return False