[elbe-devel] [PATCH 03/25] pylint - elbeproject: unused argument debug

Manuel Traut manut at linutronix.de
Wed Aug 29 21:02:33 CEST 2018


remove unused argument

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/commands/buildchroot.py | 5 -----
 elbepack/elbeproject.py          | 2 +-
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/elbepack/commands/buildchroot.py b/elbepack/commands/buildchroot.py
index 6c0f14f6..5761f5e8 100644
--- a/elbepack/commands/buildchroot.py
+++ b/elbepack/commands/buildchroot.py
@@ -50,10 +50,6 @@ def run_command(argv):
     oparser.add_option("--proxy", dest="proxy",
                        help="Override the http proxy")
 
-    oparser.add_option("--debug", action="store_true", dest="debug",
-                       default=False,
-                       help="Enable various features to debug the build")
-
     oparser.add_option("--buildtype", dest="buildtype",
                        help="Override the buildtype")
 
@@ -104,7 +100,6 @@ def run_command(argv):
             opt.build_bin,
             opt.build_sources,
             opt.cdrom_size,
-            opt.debug,
             opt.skip_pkglist,
             opt.skip_pbuild)
     except CommandError as ce:
diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
index d19673ce..1469aff6 100644
--- a/elbepack/elbeproject.py
+++ b/elbepack/elbeproject.py
@@ -410,7 +410,7 @@ class ElbeProject (object):
                     elog.printo(str(e))
 
     def build(self, build_bin=False, build_sources=False, cdrom_size=None,
-              debug=False, skip_pkglist=False, skip_pbuild=False):
+              skip_pkglist=False, skip_pbuild=False):
 
         # pylint: disable=too-many-arguments
         # pylint: disable=too-many-locals
-- 
2.18.0




More information about the elbe-devel mailing list