[Mpuls-commits] r2612 - in wasko/branches/2.0: . mpulsweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue May 4 13:00:03 CEST 2010


Author: bh
Date: 2010-05-04 13:00:00 +0200 (Tue, 04 May 2010)
New Revision: 2612

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/mpulsweb/model/case.py
Log:
* mpulsweb/model/case.py (MpulsCaseBundle._exportXSL)
(MpulsCaseBundle._exportXLS): Fix typo in method name.  The method
exports xls files.
(MpulsCaseBundle.export): Adapt to renamed method.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-05-04 10:17:15 UTC (rev 2611)
+++ wasko/branches/2.0/ChangeLog	2010-05-04 11:00:00 UTC (rev 2612)
@@ -1,3 +1,10 @@
+2010-05-04  Bernhard Herzog  <bh at intevation.de>
+
+	* mpulsweb/model/case.py (MpulsCaseBundle._exportXSL)
+	(MpulsCaseBundle._exportXLS): Fix typo in method name.  The method
+	exports xls files.
+	(MpulsCaseBundle.export): Adapt to renamed method.
+
 2010-05-04  Torsten Irländer <torsten.irlaender at intevation.de>
 
 	* jmd.json: Changed settings to anonymize a case. Anonymization

Modified: wasko/branches/2.0/mpulsweb/model/case.py
===================================================================
--- wasko/branches/2.0/mpulsweb/model/case.py	2010-05-04 10:17:15 UTC (rev 2611)
+++ wasko/branches/2.0/mpulsweb/model/case.py	2010-05-04 11:00:00 UTC (rev 2612)
@@ -411,7 +411,7 @@
         if type == "XML":
             export = self._exportXML(xmltree) 
         elif type== "XLS":
-            export = self._exportXSL(xmltree, selection) 
+            export = self._exportXLS(xmltree, selection) 
         elif type== "CSV":
             export = self._exportCSV(xmltree, selection) 
 
@@ -422,7 +422,7 @@
         xml = ElementTree.tostring(root)
         return xml
 
-    def _exportXSL(self, tree, selection):
+    def _exportXLS(self, tree, selection):
         return XLSExport(tree, selection).export()
     
     def _exportCSV(self, tree):



More information about the Mpuls-commits mailing list