[elbe-devel] [PATCH v2 45/66] debinstaller: Fix Pylint

Olivier Dion dion at linutronix.de
Fri Jun 5 19:07:09 CEST 2020


28:0: W0611: (unused-import)
28:0: C0411: (wrong-import-order)

Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/debinstaller.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elbepack/debinstaller.py b/elbepack/debinstaller.py
index dd882d67..0c1ca58a 100644
--- a/elbepack/debinstaller.py
+++ b/elbepack/debinstaller.py
@@ -23,9 +23,10 @@ except ImportError:
     import urllib2
     urlopen = urllib2.urlopen
 
+from shutil import copyfile
+
 from gpg import core
 from gpg.constants import PROTOCOL_OpenPGP
-from shutil import copyfileobj, copyfile
 
 from elbepack.filesystem import TmpdirFilesystem
 from elbepack.egpg import OverallStatus, check_signature
-- 
2.27.0




More information about the elbe-devel mailing list