[elbe-devel] [PATCH 5/5] daemons: esoap: do not convert the files to SoapFile before returning

Torben Hohn torben.hohn at linutronix.de
Wed Sep 8 17:01:38 CEST 2021


spyne can convert the object implicitly, when the attributes match.
with the SoapFile constructor removed, the implicit method has to be used.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/daemons/soap/esoap.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/daemons/soap/esoap.py b/elbepack/daemons/soap/esoap.py
index 5748d95bb..5b47aebf9 100644
--- a/elbepack/daemons/soap/esoap.py
+++ b/elbepack/daemons/soap/esoap.py
@@ -119,7 +119,7 @@ class ESoap (ServiceBase):
     def get_files(self, uid, builddir):
         self.app.pm.open_project(uid, builddir)
         files = self.app.pm.db.get_project_files(builddir)
-        return [SoapFile(f) for f in files]
+        return files
 
     @rpc(String, String, String, Integer, _returns=Integer)
     @authenticated_uid
-- 
2.20.1



More information about the elbe-devel mailing list