[elbe-devel] [PATCH 05/25] soapclient: print success not to stderr
Manuel Traut
manut at linutronix.de
Fri Dec 8 19:08:36 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 4557fc80..ede9164e 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