Commit fd4fad51 authored by Christian Theune's avatar Christian Theune

- fixed collector issue #882

parent 207f492d
......@@ -52,6 +52,8 @@ Zope Changes
Bugs Fixed
- Collector #882: delPropertySheet was broken due to a typo
- Collector #683: WeDAV request without XML preamble
were not recognized by Zope and raised an exception.
......
......@@ -13,7 +13,7 @@
"""Property sheets"""
__version__='$Revision: 1.88 $'[11:-2]
__version__='$Revision: 1.89 $'[11:-2]
import time, App.Management, Globals
from webdav.WriteLockInterface import WriteLockInterface
......@@ -656,7 +656,7 @@ class PropertySheets(Traversable, Implicit, App.Management.Tabs):
for propset in self.aq_parent.__propsets__:
if propset.getId() != name and propset.xml_namespace() != name:
result.append(propset)
self.parent.__propsets__=tuple(result)
self.aq_parent.__propsets__=tuple(result)
def __len__(self):
return len(self.__propsets__())
......
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