From 835cf5b2f8fa1fe85a060bfddbaf64149e10d71f Mon Sep 17 00:00:00 2001 From: richard Date: Sun, 9 Mar 2003 22:57:47 +0000 Subject: [PATCH] fix sf bug 700483 git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1579 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py index 4fbf10a..6d8bdc7 100644 --- a/roundup/cgi/client.py +++ b/roundup/cgi/client.py @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.103 2003-03-07 22:46:59 kedder Exp $ +# $Id: client.py,v 1.104 2003-03-09 22:57:47 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -1149,7 +1149,7 @@ You should then receive another email with the new password. ''' # check for permission if not self.editItemPermission(props): - raise PermissionError, 'You do not have permission to edit %s'%cn + raise Unauthorised, 'You do not have permission to edit %s'%cn # make the changes cl = self.db.classes[cn] @@ -1160,7 +1160,7 @@ You should then receive another email with the new password. ''' # check for permission if not self.newItemPermission(props): - raise PermissionError, 'You do not have permission to create %s'%cn + raise Unauthorised, 'You do not have permission to create %s'%cn # create the node and return its id cl = self.db.classes[cn] -- 2.30.2