[elbe-devel] [PATCH 25/25] pylint - virtapt: remove unused parameters
Manuel Traut
manut at linutronix.de
Wed Aug 29 21:02:55 CEST 2018
Signed-off-by: Manuel Traut <manut at linutronix.de>
---
elbepack/pkgutils.py | 2 +-
elbepack/virtapt.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/elbepack/pkgutils.py b/elbepack/pkgutils.py
index 186a4c36..84eaac02 100644
--- a/elbepack/pkgutils.py
+++ b/elbepack/pkgutils.py
@@ -184,7 +184,7 @@ def get_uri(prj, defs, arch, target_pkg, incl_deps=False):
print("python-apt failed, using fallback code: %s" % e)
return get_uri_nonvirtapt(apt_sources, target_pkg, arch)
- ret = v.get_uri(suite, arch, target_pkg, incl_deps)
+ ret = v.get_uri(target_pkg, incl_deps)
return ret
else:
diff --git a/elbepack/virtapt.py b/elbepack/virtapt.py
index f58239df..cb2c9edf 100644
--- a/elbepack/virtapt.py
+++ b/elbepack/virtapt.py
@@ -232,7 +232,7 @@ class VirtApt(object):
file.write(prefs)
file.close()
- def get_uri(self, suite, arch, target_pkg, incl_deps=False):
+ def get_uri(self, target_pkg, incl_deps=False):
d = apt_pkg.DepCache(self.cache)
--
2.18.0
More information about the elbe-devel
mailing list