changeset 1849:ff8a6ed6d7aa

revert changeset 1846:ca2c9a7f06c6 The changeset creates broken syntax and changes nothing. cf. http://en.wikipedia.org/wiki/De_Morgan_duality
author Johannes Berg <johannes AT sipsolutions DOT net>
date Sat, 03 Mar 2007 00:17:41 +0100
parents 986c37b557c6
children 3d38db210672
files MoinMoin/PageEditor.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/PageEditor.py	Fri Mar 02 23:49:30 2007 +0100
+++ b/MoinMoin/PageEditor.py	Sat Mar 03 00:17:41 2007 +0100
@@ -499,8 +499,8 @@
         request = self.request
         _ = self._
 
-        if not request.user.may.delete(self.page_name)
-                or not request.user.may.write(newpagename):
+        if not (request.user.may.delete(self.page_name)
+                and request.user.may.write(newpagename)):
             msg = _('You are not allowed to rename this page!')
             raise self.AccessDenied, msg