[elbe-devel] [PATCH v2 36/66] archivedir: Fix Pylint
Olivier Dion
dion at linutronix.de
Fri Jun 5 19:07:00 CEST 2020
35:15: W1505: (deprecated-method)
Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
---
elbepack/archivedir.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/elbepack/archivedir.py b/elbepack/archivedir.py
index 1bf4e5b4..4b9ace9a 100644
--- a/elbepack/archivedir.py
+++ b/elbepack/archivedir.py
@@ -31,7 +31,8 @@ def enbase(fname, compress=True):
s = infile.read()
if compress:
s = bz2.compress(s)
-
+ # TODO:py3 - Use base64.encodebytes
+ # pylint: disable=deprecated-method
return encodestring(s)
def collect(tararchive, path, keep):
--
2.27.0
More information about the elbe-devel
mailing list