[Mpuls-commits] r5992 - base/trunk/mpulsweb/controllers

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 21 14:58:37 CEST 2012


Author: bricks
Date: 2012-06-21 14:58:37 +0200 (Thu, 21 Jun 2012)
New Revision: 5992

Modified:
   base/trunk/mpulsweb/controllers/case.py
Log:
Of course it's optional to pass a xml file


Modified: base/trunk/mpulsweb/controllers/case.py
===================================================================
--- base/trunk/mpulsweb/controllers/case.py	2012-06-21 12:46:21 UTC (rev 5991)
+++ base/trunk/mpulsweb/controllers/case.py	2012-06-21 12:58:37 UTC (rev 5992)
@@ -605,7 +605,7 @@
         a custom validator'''
         return NewCaseForm()
 
-    def _get_xmlimporter(self, xmlfile):
+    def _get_xmlimporter(self, xmlfile=None):
         '''This function should be overwritten in specific applications to add
         a custom XML Importer'''
         allow_documents = g.mpuls_config.is_enabled('case-module', 'documents')



More information about the Mpuls-commits mailing list