[elbe-devel] [PATCH 01/32] Sanitize output for soapclient

dion at linutronix.de dion at linutronix.de
Fri Jun 14 22:13:15 CEST 2019


From: Olivier Dion <dion at linutronix.de>

Formatting should not be done on the host side.

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/soapclient.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/elbepack/soapclient.py b/elbepack/soapclient.py
index 43b8f6e2..b6ba1d1e 100644
--- a/elbepack/soapclient.py
+++ b/elbepack/soapclient.py
@@ -611,10 +611,8 @@ class WaitProjectBusyAction(ClientAction):
                     if part != int(log[0]):
                         part = int(log[0])
 
-                        localtime = time.asctime(time.localtime(time.time()))
                         try:
-                            print("%s -- %s" % (localtime,
-                                                log[1].replace('\n','')))
+                            print("%s" % (log[1].replace('\n','')))
                         except IndexError:
                             print("IndexError - part: %d (skipped)" % part)
                     else:
-- 
2.11.0




More information about the elbe-devel mailing list