Commit 50681a4f authored by Jim Fulton's avatar Jim Fulton

Added comment for hack to product unregistry code to deal with

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