[elbe-devel] [PATCH 07/13] pylint: fix has no 'write_licenses' member
Manuel Traut
manut at linutronix.de
Wed Aug 29 21:07:28 CEST 2018
genlicence.py:42, PyLint, Priority: High
Instance of 'Filesystem' has no 'write_licenses' member
write_licenses moved to ElbeFilesystem, so use this class instead.
Signed-off-by: Manuel Traut <manut at linutronix.de>
---
elbepack/commands/genlicence.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/elbepack/commands/genlicence.py b/elbepack/commands/genlicence.py
index e41cac25..40f9805b 100644
--- a/elbepack/commands/genlicence.py
+++ b/elbepack/commands/genlicence.py
@@ -12,7 +12,7 @@ import os
import io
from elbepack.asciidoclog import StdoutLog
-from elbepack.filesystem import Filesystem
+from elbepack.efilesystem import ElbeFilesystem
def run_command(argv):
@@ -31,7 +31,7 @@ def run_command(argv):
chroot = os.path.abspath(args[0])
- rfs = Filesystem(chroot)
+ rfs = ElbeFilesystem(chroot)
log = StdoutLog()
if opt.output:
--
2.18.0
More information about the elbe-devel
mailing list