[Zope-Checkins] SVN: Zope/trunk/lib/python/webdav/Lockable.py port missing 2.7 bits

Brian Lloyd brian at zope.com
Wed Mar 16 10:16:30 EST 2005


Log message for revision 29505:
  port missing 2.7 bits

Changed:
  U   Zope/trunk/lib/python/webdav/Lockable.py

-=-
Modified: Zope/trunk/lib/python/webdav/Lockable.py
===================================================================
--- Zope/trunk/lib/python/webdav/Lockable.py	2005-03-16 15:12:55 UTC (rev 29504)
+++ Zope/trunk/lib/python/webdav/Lockable.py	2005-03-16 15:16:29 UTC (rev 29505)
@@ -15,6 +15,7 @@
 
 from WriteLockInterface import WriteLockInterface, LockItemInterface
 from EtagSupport import EtagSupport
+from LockItem import LockItem
 from AccessControl import ClassSecurityInfo
 from Globals import PersistentMapping
 import Acquisition
@@ -36,7 +37,8 @@
     security.declarePrivate('wl_lockmapping')
     security.declarePublic('wl_isLocked', 'wl_getLock', 'wl_isLockedByUser',
                            'wl_lockItems', 'wl_lockValues', 'wl_lockTokens',)
-    security.declareProtected('WebDAV Lock items', 'wl_setLock')
+    security.declareProtected('WebDAV Lock items',
+                              'wl_grantLockToUser', 'wl_setLock')
     security.declareProtected('WebDAV Unlock items', 'wl_delLock')
     security.declareProtected('Manage WebDAV Locks', 'wl_clearLocks')
 



More information about the Zope-Checkins mailing list