[elbe-devel] [PATCH 23/40] pylint: CdromInitRepo - remove unused param arch
Manuel Traut
manut at linutronix.de
Fri Sep 14 13:56:35 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 173a608d..d7540bf4 100644
--- a/elbepack/repomanager.py
+++ b/elbepack/repomanager.py
@@ -336,7 +336,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.19.0.rc2
More information about the elbe-devel
mailing list