changeset 2091:7c00da767896

merged
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 11 Apr 2013 21:21:30 +0200
parents d050c88db976 (current diff) 10898faa48b8 (diff)
children f8570c669184 11ba582e3063 cd0d3f576ca6 0e122fcb96ca
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/frontend/views.py	Thu Apr 11 21:15:16 2013 +0200
+++ b/MoinMoin/apps/frontend/views.py	Thu Apr 11 21:21:30 2013 +0200
@@ -348,9 +348,10 @@
                         item_name=item_name)
     try:
         item = Item.create(item_name, rev_id=rev)
+        result = item.do_show(rev)
     except AccessDenied:
         abort(403)
-    return item.do_show(rev)
+    return result
 
 
 @frontend.route('/<itemname:item_name>/')  # note: unwanted trailing slash