changeset 6077:464b6cd93ba3

log_attempt "specific action/failure reason" for save of immutable
author 'Karl O. Pinc' <kop@meme.com>
date Mon, 15 Sep 2014 23:18:52 -0500
parents f4ec84967c27
children 35473fe0967d
files MoinMoin/PageEditor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/PageEditor.py	Mon Sep 15 22:10:45 2014 -0500
+++ b/MoinMoin/PageEditor.py	Mon Sep 15 23:18:52 2014 -0500
@@ -1090,7 +1090,7 @@
             msg = _('You are not allowed to edit this page!')
             raise self.AccessDenied(msg)
         elif not self.isWritable():
-            log_attempt('edit/immutable', False, request,
+            log_attempt('save/immutable', False, request,
                         pagename=self.page_name)
             msg = _('Page is immutable!')
             raise self.Immutable(msg)