Commit d76c4ded authored by Jim Fulton's avatar Jim Fulton

Added hack to product unregistry code to deal with

turds left by a fixed inner ZClass registration bug.
parent c64dbe94
...@@ -208,7 +208,7 @@ class ProductRegistryMixin: ...@@ -208,7 +208,7 @@ class ProductRegistryMixin:
def _manage_remove_product_data(self, type, product, id): def _manage_remove_product_data(self, type, product, id):
values=filter( values=filter(
lambda d, product=product, id=id: lambda d, product=product, id=id:
not (d['product']==product and d['id']==id), not (d['product'] in (product, 'methods') and d['id']==id),
self.aq_maybe('_getProductRegistryData')(type) self.aq_maybe('_getProductRegistryData')(type)
) )
......
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