utils/genrandconfig: fix flake8 warnings
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 3 Dec 2018 21:25:42 +0000 (22:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 3 Dec 2018 21:25:42 +0000 (22:25 +0100)
Fixes:

utils/genrandconfig:369:17: E231 missing whitespace after ','
utils/genrandconfig:370:1: E101 indentation contains mixed spaces and tabs
utils/genrandconfig:370:1: W191 indentation contains tabs
utils/genrandconfig:372:1: E101 indentation contains mixed spaces and tabs

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/genrandconfig

index 35c7cbd14caee48894582e6d94b5a68679818388..047740a411c61ca86f35380ce5dcefca14938980 100755 (executable)
@@ -366,8 +366,8 @@ def gen_config(args):
         configlines.append("BR2_STATIC_LIBS=y\n")
     if randint(0, 20) == 0:
         configlines.append("BR2_PACKAGE_PYTHON_PY_ONLY=y\n")
-    if randint(0,5) == 0:
-       configlines.append("BR2_OPTIMIZE_2=y\n")
+    if randint(0, 5) == 0:
+        configlines.append("BR2_OPTIMIZE_2=y\n")
 
     # Write out the configuration file
     if not os.path.exists(args.outputdir):