gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r28222 - gnunet-planetlab/gplmt/gplmt


From: gnunet
Subject: [GNUnet-SVN] r28222 - gnunet-planetlab/gplmt/gplmt
Date: Sun, 21 Jul 2013 03:26:24 +0200

Author: otarabai
Date: 2013-07-21 03:26:23 +0200 (Sun, 21 Jul 2013)
New Revision: 28222

Modified:
   gnunet-planetlab/gplmt/gplmt/Notifications.py
Log:
Fix in summary output


Modified: gnunet-planetlab/gplmt/gplmt/Notifications.py
===================================================================
--- gnunet-planetlab/gplmt/gplmt/Notifications.py       2013-07-20 23:10:44 UTC 
(rev 28221)
+++ gnunet-planetlab/gplmt/gplmt/Notifications.py       2013-07-21 01:26:23 UTC 
(rev 28222)
@@ -147,7 +147,7 @@
                 sys.stdout.write(tl.name)
                 diff = maxTasklistLen - len(tl.name)
                 sys.stdout.write(' ' * diff + ' | ')
-                print 'success' if tl.success else 'failed in: '
+                print 'success' if (tl.success == Tasklist.Taskresult.success) 
else 'failed in: '
             for t in nres.tasks:
                 if (t.fail == True):
                     print "\tFAIL: " + t.task.name + " with '" +t.msg+ "' and 
'" +t.output+ "'"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]