[elbe-devel] [PATCH 26/40] pylint: virtapt - remove unused parameters

Torben Hohn torben.hohn at linutronix.de
Thu Sep 20 13:23:55 CEST 2018


On Fri, Sep 14, 2018 at 01:56:38PM +0200, Manuel Traut wrote:
> Signed-off-by: Manuel Traut <manut at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn 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 12d401b5..92bbdb0d 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 085d23ef..3d148041 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.19.0.rc2
> 

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20180920/f248aed8/attachment.sig>


More information about the elbe-devel mailing list