summaryrefslogtreecommitdiff
path: root/examples/allnoconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-11-09 21:24:11 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2017-11-09 21:31:07 +0100
commitbd531eb941b71ebd97623f24ae31b0763bab0c54 (patch)
treebb870688e0c3b10902f47d575d6b7c05bba2e2dd /examples/allnoconfig.py
parentfe6a3b35bbbbce4c938558b294f5cf7a97da809b (diff)
allnoconfig.py: s/while 1/while True/
Pointless as an optimization here. Should restrict obfuscating micro-optimization to the library code too even where it helps.
Diffstat (limited to 'examples/allnoconfig.py')
-rw-r--r--examples/allnoconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/allnoconfig.py b/examples/allnoconfig.py
index 127c60d..dcff3f9 100644
--- a/examples/allnoconfig.py
+++ b/examples/allnoconfig.py
@@ -46,7 +46,7 @@ for sym in kconf.defined_syms:
if sym.is_allnoconfig_y:
sym.set_value(2)
-while 1:
+while True:
# Changing later symbols in the configuration can sometimes allow earlier
# symbols to be lowered, e.g. if a later symbol 'select's an earlier
# symbol. To handle such situations, we do additional passes over the tree