[elbe-devel] [PATCH 6/8] pylint genlicence: remove unused import and styleproblem

Torben Hohn torben.hohn at linutronix.de
Mon Oct 14 16:57:32 CEST 2019


pylint complains:

elbepack/commands/genlicence.py:11: [W0611(unused-import), ] Unused import os

pycodestyle complains:

elbepack/commands/genlicence.py:39:33: E231 missing whitespace after ':'

fie them.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/commands/genlicence.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/elbepack/commands/genlicence.py b/elbepack/commands/genlicence.py
index 410958fe3..fa8d4c218 100644
--- a/elbepack/commands/genlicence.py
+++ b/elbepack/commands/genlicence.py
@@ -8,7 +8,6 @@ from __future__ import print_function
 
 from optparse import OptionParser
 import sys
-import os
 import io
 import logging
 
@@ -36,7 +35,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,
-- 
2.20.1




More information about the elbe-devel mailing list