[elbe-devel] [PATCH 23/40] pylint: CdromInitRepo - remove unused param arch

Torben Hohn torben.hohn at linutronix.de
Thu Sep 20 13:02:29 CEST 2018


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

Reviewed-by: Torben Hohn <torben.hohn 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
> 

-- 
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/cbe54bb4/attachment.sig>


More information about the elbe-devel mailing list