Commit e6c2ebde authored by Andreas Jung's avatar Andreas Jung

WebDAV Lockmanager was not working due to a Python 2.1

incompatibility.
parent f23bdff2
...@@ -27,6 +27,10 @@ Zope Changes ...@@ -27,6 +27,10 @@ Zope Changes
- Collector #2423: Searching a FieldIndexes for documents - Collector #2423: Searching a FieldIndexes for documents
with a blank string has been broken. with a blank string has been broken.
- WebDAV Lockmanager was not working due to a Python 2.1
incompatibility.
Zope 2.4 beta 2 Zope 2.4 beta 2
Bugs fixed Bugs fixed
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
# #
############################################################################## ##############################################################################
__version__ = "$Revision: 1.5 $"[11:-2] __version__ = "$Revision: 1.6 $"[11:-2]
import OFS, Acquisition, Globals import OFS, Acquisition, Globals
from AccessControl import getSecurityManager, ClassSecurityInfo from AccessControl import getSecurityManager, ClassSecurityInfo
...@@ -168,7 +168,7 @@ class DavLockManager(OFS.SimpleItem.Item, Acquisition.Implicit): ...@@ -168,7 +168,7 @@ class DavLockManager(OFS.SimpleItem.Item, Acquisition.Implicit):
for token, lock in ob.wl_lockItems(): for token, lock in ob.wl_lockItems():
addlockinfo({'owner':lock.getCreatorPath(), addlockinfo({'owner':lock.getCreatorPath(),
'token':token}) 'token':token})
addresult(p, li) addresult((p, li))
dflag = 0 dflag = 0
if hasattr(bs, 'objectItems'): if hasattr(bs, 'objectItems'):
self._findapply(ob, result, p) self._findapply(ob, result, p)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment