diff MoinMoin/action/newpage.py @ 6075:3f7f4cef7c2a

make log_attempt output easily parsed
author 'Karl O. Pinc' <kop@meme.com>
date Mon, 15 Sep 2014 21:53:09 -0500
parents 6366f5b440ff
children 35473fe0967d
line wrap: on
line diff
--- a/MoinMoin/action/newpage.py	Mon Sep 15 21:27:54 2014 -0500
+++ b/MoinMoin/action/newpage.py	Mon Sep 15 21:53:09 2014 -0500
@@ -66,7 +66,7 @@
         page = Page(self.request, self.pagename)
         if not (page.isWritable() and self.request.user.may.read(self.pagename)):
             # Same error as the edit page for localization reasons
-            log_attempt('newpage: immutable or no permissions', False,
+            log_attempt('newpage/immutable or no permissions', False,
                         self.request, pagename=self.pagename)
             return _('You are not allowed to edit this page.')
         return ''