SVN: Zope/trunk/ Fixed a regression in webdav support that broke external editor feature.
Thomas Desvenain <[email protected]> Wed, 28 Sep 2011 12:32:38 -0400 (EDT)
| Newsgroups | gmane.comp.web.zope.cvs |
|---|---|
| Message-ID | <20110928163238.191E294202__39413.7696516283$1317227565$gmane$org@cvs.zope.org> |
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
_______________________________________________
Zope-Checkins maillist - [email protected]
https://mail.zope.org/mailman/listinfo/zope-checkins