[elbe-devel] [PATCH 01/16] commands: buildchroot: fix pylint

Bastian Germann bage at linutronix.de
Wed Jul 28 19:25:00 CEST 2021


Am 28.07.21 um 17:40 schrieb Torben Hohn:
> elbepack/commands/buildchroot.py:19:0: C0411: third party import "from sqlalchemy.exc import OperationalError" should be placed before "
> from elbepack.shellhelper import CommandError" (wrong-import-order)

Please unescape the HTML entities.

> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

With the quotes fixed:
Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>   elbepack/commands/buildchroot.py | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/elbepack/commands/buildchroot.py b/elbepack/commands/buildchroot.py
> index c60c13f00..efab945eb 100644
> --- a/elbepack/commands/buildchroot.py
> +++ b/elbepack/commands/buildchroot.py
> @@ -10,13 +10,14 @@ from optparse import OptionParser
>   import sys
>   import logging
>   
> +from sqlalchemy.exc import OperationalError
> +
>   from elbepack.shellhelper import CommandError
>   from elbepack.elbeproject import ElbeProject
>   from elbepack.elbexml import ValidationError
>   from elbepack.db import ElbeDB
>   from elbepack.cdroms import CDROM_SIZE
>   from elbepack.log import elbe_logging
> -from sqlalchemy.exc import OperationalError
>   
>   
>   def run_command(argv):
> 


More information about the elbe-devel mailing list