Commit 0be58301 authored by Gary Poster's avatar Gary Poster

Don't try to get interfaces of None.

parent c5341aeb
......@@ -170,6 +170,9 @@ class ProductContext:
m=pack._m
if interfaces is _marker:
if instance_class is None:
interfaces = ()
else:
interfaces = instancesOfObjectImplements(instance_class)
Products.meta_types=Products.meta_types+(
......
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