[Zope-Checkins] SVN: Zope/trunk/ Fixed a regression in webdav support that broke external editor feature.
Thomas Desvenain
thomas.desvenain at gmail.com
Wed Sep 28 11:32:38 EST 2011
Log message for revision 122985:
Fixed a regression in webdav support that broke external editor feature.
Changed:
U Zope/trunk/doc/CHANGES.rst
U Zope/trunk/src/webdav/Resource.py
-=-
Modified: Zope/trunk/doc/CHANGES.rst
===================================================================
--- Zope/trunk/doc/CHANGES.rst 2011-09-28 16:29:29 UTC (rev 122984)
+++ Zope/trunk/doc/CHANGES.rst 2011-09-28 16:32:37 UTC (rev 122985)
@@ -11,6 +11,8 @@
Bugs Fixed
++++++++++
+- Fixed a regression in webdav support that broke external editor feature.
+
- Restore ability to undo multiple transactions from the ZMI by using the
`undoMultiple` API.
Modified: Zope/trunk/src/webdav/Resource.py
===================================================================
--- Zope/trunk/src/webdav/Resource.py 2011-09-28 16:29:29 UTC (rev 122984)
+++ Zope/trunk/src/webdav/Resource.py 2011-09-28 16:32:37 UTC (rev 122985)
@@ -156,7 +156,7 @@
if not tag.resource:
# There's no resource (url) with this tag
tag_list = map(tokenFinder, tag.list)
- wehave = [tag for tag in tag_list if self.wl_hasLock(tag)]
+ wehave = [t for t in tag_list if self.wl_hasLock(t)]
if not wehave: continue
if tag.NOTTED: continue
@@ -167,7 +167,7 @@
elif urlbase(tag.resource) == url:
resourcetagged = 1
tag_list = map(tokenFinder, tag.list)
- wehave = [tag for tag in tag_list if self.wl_hasLock(tag)]
+ wehave = [t for t in tag_list if self.wl_hasLock(t)]
if not wehave: continue
if tag.NOTTED: continue
More information about the Zope-Checkins
mailing list