Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Mar 9, 2000
1 parent 8ea6d65 commit 07601a3
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions DT_String.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
# attributions are listed in the accompanying credits file.
#
##############################################################################
"$Id: DT_String.py,v 1.32 2000/03/09 19:15:39 brian Exp $"
"$Id: DT_String.py,v 1.33 2000/03/09 19:22:33 brian Exp $"

from string import split, strip
import regex, ts_regex
Expand Down Expand Up @@ -560,15 +560,9 @@ def manage_edit(self,data): raise TypeError, 'cannot edit files'
# are running with Zope before installing the watermark function.

if hasattr(__builtins__, 'INSTANCE_HOME'):

from ZPublisher.BaseRequest import _marker

def verify_watermark(auth_user):
if not hasattr(auth_user, '__marker__') or \
auth_user.__marker__ is not _marker:
raise 'Unauthorized', (
'You are not authorized to access this resource.'
)
from AccessControl.User import verify_watermark

else:

def verify_watermark(auth_user):
Expand Down

0 comments on commit 07601a3

Please sign in to comment.