diff MoinMoin/items/__init__.py @ 1918:f0b346ac6338

added return_rev param to store_revision() to avoid returning a revision object without need
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 20 Jan 2013 23:36:37 +0100
parents 78b7a1136984
children 2bd864ed640e 70c534eb5596
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Sun Jan 20 21:55:30 2013 +0100
+++ b/MoinMoin/items/__init__.py	Sun Jan 20 23:36:37 2013 +0100
@@ -440,6 +440,7 @@
                                              action=unicode(action),
                                              contenttype_current=contenttype_current,
                                              contenttype_guessed=contenttype_guessed,
+                                             return_rev=True,
                                              )
         item_modified.send(app._get_current_object(), item_name=name)
         return newrev.revid, newrev.meta[SIZE]