[elbe-devel] [PATCH] debianize: resolve PEP8 issues

Bastian Germann bage at linutronix.de
Wed Mar 18 15:03:31 CET 2020


Am 18.03.20 um 15:01 schrieb yegorslists at googlemail.com:
> From: Yegor Yefremov <yegorslists at googlemail.com>
> 
> Issues fixed by the autopep8 utility.
> 
> Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>

Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>  elbepack/debianize/panels/barebox.py | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/elbepack/debianize/panels/barebox.py b/elbepack/debianize/panels/barebox.py
> index d53998600..3b83a7118 100644
> --- a/elbepack/debianize/panels/barebox.py
> +++ b/elbepack/debianize/panels/barebox.py
> @@ -24,14 +24,15 @@ class BareBox(Panel):
>  
>      def __init__(self):
>  
> -        imgname = Edit("Image name", "barebox-phytec-phycore-imx6dl-som-nand-256mb.img")
> +        imgname = Edit(
> +            "Image name", "barebox-phytec-phycore-imx6dl-som-nand-256mb.img")
>          defconfig = Edit("Def config", "imx_v7_defconfig")
>          cross = Edit("CROSS_COMPILE", "arm-linux-gnueabihf-")
>          k_version = Edit("BareBox Version", "2016.10")
>  
>          grid_elements = [
> -            {"imgname":imgname, "defconfig":defconfig},
> -            {"cross_compile":cross, "k_version":k_version}
> +            {"imgname": imgname, "defconfig": defconfig},
> +            {"cross_compile": cross, "k_version": k_version}
>          ]
>  
>          super(BareBox, self).__init__(grid_elements)
> @@ -61,4 +62,4 @@ class BareBox(Panel):
>                   'debian/barebox-tools-' + pkg_name + '.install')
>  
>          self.hint = "use 'dpkg-buildpackage -a%s' to build the package" % (
> -                self.deb['p_arch'])
> +            self.deb['p_arch'])
> 



More information about the elbe-devel mailing list