[elbe-devel] [PATCH 10/13] soapclient: remove rm calls

Manuel Traut manut at linutronix.de
Thu Nov 30 15:15:12 CET 2017


rm is not implemented. However i'm not sure if it's a good idea to
implement it. So let's just keep the files inside the initvm.
They will be deleted if the project gets removed.

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/soapclient.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/elbepack/soapclient.py b/elbepack/soapclient.py
index 9832be87..835e9e6d 100644
--- a/elbepack/soapclient.py
+++ b/elbepack/soapclient.py
@@ -670,9 +670,6 @@ class DownloadAction(RepoAction):
         client.download_file (builddir, filename, dst_fname)
         print (dst_fname + " saved", file=sys.stderr)
 
-        client.service.rm (builddir, filename)
-        print (filename + " deleted on initvm.")
-
 
 RepoAction.register(DownloadAction)
 
@@ -753,9 +750,4 @@ class UploadPackageAction(RepoAction):
         client.service.include_package(builddir, filename)
 
 
-        print("Cleaning initvm builddir...")
-        for f in files:
-            client.service.rm (builddir, f)
-
-
 RepoAction.register(UploadPackageAction)
-- 
2.15.1




More information about the elbe-devel mailing list