changeset 6073:338348b5d5ad

use proper parameter name in log_attempt() call
author 'Karl O. Pinc' <kop@meme.com>
date Mon, 15 Sep 2014 21:14:44 -0500
parents eeb0a608382d
children 6366f5b440ff
files MoinMoin/action/edit.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/edit.py	Mon Sep 15 21:14:02 2014 -0500
+++ b/MoinMoin/action/edit.py	Mon Sep 15 21:14:44 2014 -0500
@@ -23,7 +23,7 @@
         return
 
     if not request.user.may.write(pagename):
-        log_attempt('edit: edit', False, request, page=pagename)
+        log_attempt('edit: edit', False, request, pagename=pagename)
         page = wikiutil.getLocalizedPage(request, 'PermissionDeniedPage')
         page.body = _('You are not allowed to edit this page.')
         page.page_name = pagename