[Mpuls-commits] r915 - wasko/branches/2.0/waskaweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jan 26 18:12:51 CET 2010
Author: torsten
Date: 2010-01-26 18:12:51 +0100 (Tue, 26 Jan 2010)
New Revision: 915
Modified:
wasko/branches/2.0/waskaweb/model/document.py
Log:
* waskaweb/model/document.py (Document.create): Call format_number instead of formatNumber
Modified: wasko/branches/2.0/waskaweb/model/document.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/document.py 2010-01-26 17:11:16 UTC (rev 914)
+++ wasko/branches/2.0/waskaweb/model/document.py 2010-01-26 17:12:51 UTC (rev 915)
@@ -181,7 +181,7 @@
total_size += l
if total_size > MAX_SIZE:
raise DocumentException(
- u"Datei ist zu groß. Maximal %sMB sind erlaubt." % h.formatNumber(MAX_SIZE/float(1024*1024)))
+ u"Datei ist zu groß. Maximal %sMB sind erlaubt." % h.format_number(MAX_SIZE/float(1024*1024)))
out.write(b)
bytes = out.getvalue()
out.close(); out = None
More information about the Mpuls-commits
mailing list