[Mpuls-commits] r2897 - base/trunk/mpulsweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jun 7 09:55:44 CEST 2010


Author: torsten
Date: 2010-06-07 09:55:44 +0200 (Mon, 07 Jun 2010)
New Revision: 2897

Modified:
   base/trunk/mpulsweb/model/case.py
Log:
Added new dummy function to copy a case.


Modified: base/trunk/mpulsweb/model/case.py
===================================================================
--- base/trunk/mpulsweb/model/case.py	2010-06-07 07:34:09 UTC (rev 2896)
+++ base/trunk/mpulsweb/model/case.py	2010-06-07 07:55:44 UTC (rev 2897)
@@ -846,6 +846,10 @@
             db.recycleConnection(con, cur)
         return self.editor
 
+    def copy(self):
+        """Will copy the case and all its content in a new case. Returns the id of the new case."""
+        return None 
+
     def delete(self):
         """Deletes the case from data base. Returns True if deletion succseeds
         """



More information about the Mpuls-commits mailing list