minor fixes and improvements

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1762 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2007-05-21 17:29:17 +00:00
parent 35038af303
commit faaa2213c6
2 changed files with 3 additions and 2 deletions

View file

@ -25,7 +25,8 @@
summary string:Currently assigned objects;
legend string:Child Concepts;
showPredicate string:yes;
buttonText string:Remove Children;">
buttonText string:Remove Children;"
style="clear:left">
<metal:children use-macro="views/relation_macros/listing" />
</div>

View file

@ -79,7 +79,7 @@ class AdapterBase(object):
raise AttributeError('%s: %s' % (self, attr))
def __eq__(self, other):
if other is None:
if not isinstance(other, AdapterBase):
return False
return self.context == other.context