[elbe-devel] [PATCH 44/75] archivedir: Fix Pylint
Olivier Dion
dion at linutronix.de
Mon May 25 17:42:37 CEST 2020
35:15: W1505: (deprecated-method)
Signed-off-by: Olivier Dion <dion 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.26.2
More information about the elbe-devel
mailing list