[elbe-devel] [PATCH 21/25] pylint - CdromInitRepo: remove unused parameter arch

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


Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/cdroms.py      | 3 +--
 elbepack/repomanager.py | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/elbepack/cdroms.py b/elbepack/cdroms.py
index 9e2dffda..9e267228 100644
--- a/elbepack/cdroms.py
+++ b/elbepack/cdroms.py
@@ -150,8 +150,7 @@ def mk_binary_cdrom(
     repo_path = os.path.join(target, "binrepo")
     target_repo_path = os.path.join(repo_path, 'targetrepo')
 
-    repo = CdromInitRepo(arch, init_codename,
-                         repo_path, log, cdrom_size, mirror)
+    repo = CdromInitRepo(init_codename, repo_path, log, cdrom_size, mirror)
 
     target_repo = CdromBinRepo(arch, codename, None,
                                target_repo_path, log, cdrom_size, mirror)
diff --git a/elbepack/repomanager.py b/elbepack/repomanager.py
index 13a0e393..24d78062 100644
--- a/elbepack/repomanager.py
+++ b/elbepack/repomanager.py
@@ -335,7 +335,7 @@ class UpdateRepo(RepoBase):
 
 
 class CdromInitRepo(RepoBase):
-    def __init__(self, arch, init_codename, path, log, maxsize,
+    def __init__(self, init_codename, path, log, maxsize,
                  mirror='http://ftp.de.debian.org/debian'):
 
         # pylint: disable=too-many-arguments
-- 
2.18.0




More information about the elbe-devel mailing list