[elbe-devel] [PATCH 27/40] pylint: elbeproject - remove unused argument debug
Torben Hohn
torben.hohn at linutronix.de
Thu Sep 20 13:24:07 CEST 2018
On Fri, Sep 14, 2018 at 01:56:39PM +0200, Manuel Traut wrote:
> remove unused argument
>
> Signed-off-by: Manuel Traut <manut at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
> ---
> elbepack/commands/buildchroot.py | 5 -----
> elbepack/elbeproject.py | 2 +-
> 2 files changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/elbepack/commands/buildchroot.py b/elbepack/commands/buildchroot.py
> index 6c0f14f6..5761f5e8 100644
> --- a/elbepack/commands/buildchroot.py
> +++ b/elbepack/commands/buildchroot.py
> @@ -50,10 +50,6 @@ def run_command(argv):
> oparser.add_option("--proxy", dest="proxy",
> help="Override the http proxy")
>
> - oparser.add_option("--debug", action="store_true", dest="debug",
> - default=False,
> - help="Enable various features to debug the build")
> -
> oparser.add_option("--buildtype", dest="buildtype",
> help="Override the buildtype")
>
> @@ -104,7 +100,6 @@ def run_command(argv):
> opt.build_bin,
> opt.build_sources,
> opt.cdrom_size,
> - opt.debug,
> opt.skip_pkglist,
> opt.skip_pbuild)
> except CommandError as ce:
> diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
> index d19673ce..1469aff6 100644
> --- a/elbepack/elbeproject.py
> +++ b/elbepack/elbeproject.py
> @@ -410,7 +410,7 @@ class ElbeProject (object):
> elog.printo(str(e))
>
> def build(self, build_bin=False, build_sources=False, cdrom_size=None,
> - debug=False, skip_pkglist=False, skip_pbuild=False):
> + skip_pkglist=False, skip_pbuild=False):
>
> # pylint: disable=too-many-arguments
> # pylint: disable=too-many-locals
> --
> 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/b38d67f3/attachment.sig>
More information about the elbe-devel
mailing list