[Zope-Checkins] SVN: Zope/branches/2.13/ Fixed a regression of 2.13.9 in webdav support that broke external editor feature.

Thomas Desvenain thomas.desvenain at gmail.com
Wed Sep 28 11:29:30 EST 2011


Log message for revision 122984:
  Fixed a regression of 2.13.9 in webdav support that broke external editor feature.

Changed:
  U   Zope/branches/2.13/doc/CHANGES.rst
  U   Zope/branches/2.13/src/webdav/Resource.py

-=-
Modified: Zope/branches/2.13/doc/CHANGES.rst
===================================================================
--- Zope/branches/2.13/doc/CHANGES.rst	2011-09-28 15:37:35 UTC (rev 122983)
+++ Zope/branches/2.13/doc/CHANGES.rst	2011-09-28 16:29:29 UTC (rev 122984)
@@ -11,8 +11,10 @@
 Bugs Fixed
 ++++++++++
 
+- Fixed a regression of 2.13.9 in webdav support that broke external editor feature.
+
 - `undoMultiple` was still broken as transactions were not undone in the proper
-  order : tids were stored and retrieved as dictionary keys. 
+  order : tids were stored and retrieved as dictionary keys.
 
 - Updated distributions:
 
@@ -156,7 +158,7 @@
 
 Bugs Fixed
 ++++++++++
- 
+
 - LP #713253: Prevent publication of acquired attributes, where the acquired
   object does not have a docstring.
 
@@ -344,12 +346,12 @@
   base class's security info don't get their security overwritten to be
   private.
 
-- LP #143755: Also catch TypeError when trying to determine an 
+- LP #143755: Also catch TypeError when trying to determine an
   indexable value for an object in PluginIndexes.common.UnIndex
 
-- LP #143533: Instead of showing "0.0.0.0" as the SERVER_NAME 
-  request variable when no specific listening IP is configured for 
-  the HTTP server, do a socket lookup to show the current server's 
+- LP #143533: Instead of showing "0.0.0.0" as the SERVER_NAME
+  request variable when no specific listening IP is configured for
+  the HTTP server, do a socket lookup to show the current server's
   fully qualified name.
 
 - LP #143722: Added missing permission to ObjectManager.manage_hasId,

Modified: Zope/branches/2.13/src/webdav/Resource.py
===================================================================
--- Zope/branches/2.13/src/webdav/Resource.py	2011-09-28 15:37:35 UTC (rev 122983)
+++ Zope/branches/2.13/src/webdav/Resource.py	2011-09-28 16:29:29 UTC (rev 122984)
@@ -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