From faaa2213c694486137820ea8788c4c752d266128 Mon Sep 17 00:00:00 2001 From: helmutm Date: Mon, 21 May 2007 17:29:17 +0000 Subject: [PATCH] minor fixes and improvements git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1762 fd906abe-77d9-0310-91a1-e0d9ade77398 --- browser/concept_related.pt | 3 ++- common.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/browser/concept_related.pt b/browser/concept_related.pt index f9e0494..9097b61 100644 --- a/browser/concept_related.pt +++ b/browser/concept_related.pt @@ -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"> diff --git a/common.py b/common.py index 0e0e7c3..48698a7 100644 --- a/common.py +++ b/common.py @@ -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