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

Torben Hohn torben.hohn at linutronix.de
Wed Jul 28 17:40:37 CEST 2021


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)

Signed-off-by: Torben Hohn <torben.hohn 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):
-- 
2.20.1



More information about the elbe-devel mailing list