[Zope3-checkins] CVS: Zope3/src/zope/app/index/field - index.py:1.6
Marius Gedminas
mgedmin@codeworks.lt
Sun, 22 Jun 2003 12:08:14 -0400
Update of /cvs-repository/Zope3/src/zope/app/index/field
In directory cvs.zope.org:/tmp/cvs-serv11420/src/zope/app/index/field
Modified Files:
index.py
Log Message:
Whitespace cleanup
=== Zope3/src/zope/app/index/field/index.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/index/field/index.py:1.5 Sat Jun 7 02:37:26 2003
+++ Zope3/src/zope/app/index/field/index.py Sun Jun 22 12:08:14 2003
@@ -34,7 +34,7 @@
IObjectUnregisteredHubEvent, \
IObjectModifiedHubEvent
-from zope.app.interfaces.index.field import IUIFieldIndex
+from zope.app.interfaces.index.field import IUIFieldIndex
class FieldIndex(FieldIndexWrapper):
@@ -50,7 +50,7 @@
value = getattr(object, self._indexed_attr, None)
if value is None: return None
- if callable(value):
+ if callable(value):
try: value = value()
except: return None