[Greater-commits] r3583 - trunk/GREAT-ERModel/GreaterModel/Worker
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jul 14 16:56:44 CEST 2011
Author: aheinecke
Date: 2011-07-14 16:56:44 +0200 (Thu, 14 Jul 2011)
New Revision: 3583
Modified:
trunk/GREAT-ERModel/GreaterModel/Worker/worker.py
Log:
Correctly use the string expansion before this codepath lead
to a TypeError
Modified: trunk/GREAT-ERModel/GreaterModel/Worker/worker.py
===================================================================
--- trunk/GREAT-ERModel/GreaterModel/Worker/worker.py 2011-07-14 14:53:16 UTC (rev 3582)
+++ trunk/GREAT-ERModel/GreaterModel/Worker/worker.py 2011-07-14 14:56:44 UTC (rev 3583)
@@ -132,8 +132,8 @@
else:
# An unknown status of the calculation. Return an error to
# the caller of the start_calculation method.
- err = ValueError("Unknown calculation status %r"
- % (status, progress))
+ err = ValueError("Unknown calculation status %s"
+ % repr(status, progress))
deferred.errback(err)
except:
log.err(Failure())
More information about the Greater-commits
mailing list