diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-06-15 00:35:42 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-06-15 00:35:42 +0200 |
| commit | c67d3c49e58a3affb17259c36176fb8b947cda8d (patch) | |
| tree | 87e32f2545666df0778e4110848c6b1b9486e6e2 | |
| parent | 2075347896ca184886926c3482dc2ffc7c7ae251 (diff) | |
menuconfig: Remove redundant int() argument
Base 10 is the default.
| -rwxr-xr-x | menuconfig.py | 4 |
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 |
