[elbe-devel] [PATCH 11/13] soapclient: print success not to stderr

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


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

diff --git a/elbepack/soapclient.py b/elbepack/soapclient.py
index 835e9e6d..d5a15d7e 100644
--- a/elbepack/soapclient.py
+++ b/elbepack/soapclient.py
@@ -340,7 +340,7 @@ class GetFileAction(ClientAction):
             dst_fname = str (os.path.join (dst, filename))
 
         client.download_file (builddir, filename, dst_fname)
-        print (dst_fname + " saved", file=sys.stderr)
+        print("%s saved" % dst_fname)
 
 ClientAction.register(GetFileAction)
 
@@ -668,7 +668,7 @@ class DownloadAction(RepoAction):
         dst_fname = os.path.join(".", "elbe-projectrepo-" + datetime.now().strftime("%Y%m%d-%H%M%S") + ".tar.gz")
 
         client.download_file (builddir, filename, dst_fname)
-        print (dst_fname + " saved", file=sys.stderr)
+        print("%s saved" % dst_fname)
 
 
 RepoAction.register(DownloadAction)
-- 
2.15.1




More information about the elbe-devel mailing list