[elbe-devel] [PATCH 2/2] buildchroot, buildsdk, buildsysroot: fix style errors
Akash Satamkar
akash at linutronix.de
Mon Sep 30 16:41:49 CEST 2019
pylint and pycodestyle complains:
---------------------------------------------------
elbepack/commands/buildchroot.py:13: [W0611(unused-import), ] Unused import os
elbepack/commands/buildsdk.py:33:33: E231 missing whitespace after ':'
elbepack/commands/buildsysroot.py:35:33: E231 missing whitespace after '
---------------------------------------------------
fixed it
Signed-off-by: Akash Satamkar <akash at linutronix.de>
---
elbepack/commands/buildchroot.py | 1 -
elbepack/commands/buildsdk.py | 2 +-
elbepack/commands/buildsysroot.py | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/elbepack/commands/buildchroot.py b/elbepack/commands/buildchroot.py
index 2c1d1016..8184565e 100644
--- a/elbepack/commands/buildchroot.py
+++ b/elbepack/commands/buildchroot.py
@@ -10,7 +10,6 @@ from __future__ import print_function
from optparse import OptionParser
import sys
-import os
import logging
from elbepack.shellhelper import CommandError
diff --git a/elbepack/commands/buildsdk.py b/elbepack/commands/buildsdk.py
index ce14adc6..e4b8dc74 100644
--- a/elbepack/commands/buildsdk.py
+++ b/elbepack/commands/buildsdk.py
@@ -30,7 +30,7 @@ def run_command(argv):
oparser.print_help()
sys.exit(20)
- with elbe_logging({"streams":sys.stdout}):
+ with elbe_logging({"streams": sys.stdout}):
try:
project = ElbeProject(args[0], override_buildtype=opt.buildtype,
skip_validate=opt.skip_validation)
diff --git a/elbepack/commands/buildsysroot.py b/elbepack/commands/buildsysroot.py
index ffcb611d..cd72fa2e 100644
--- a/elbepack/commands/buildsysroot.py
+++ b/elbepack/commands/buildsysroot.py
@@ -32,7 +32,7 @@ def run_command(argv):
oparser.print_help()
sys.exit(20)
- with elbe_logging({"streams":sys.stdout}):
+ with elbe_logging({"streams": sys.stdout}):
try:
project = ElbeProject(args[0], override_buildtype=opt.buildtype,
skip_validate=opt.skip_validation)
--
2.20.1
More information about the elbe-devel
mailing list