Commit 36545fb6 authored by Hanno Schlichting's avatar Hanno Schlichting

Pyflakes

parent f1fd494b
......@@ -137,7 +137,6 @@ class CatalogAware:
if hasattr(aq_base(obj), 'index_object'):
obj.index_object()
if hasattr(aq_base(obj), 'objectValues'):
sub=obj.objectValues()
for item in obj.objectValues():
self.reindex_all(item)
return 'done!'
......@@ -121,7 +121,6 @@ class CatalogAware:
if hasattr(aq_base(obj), 'index_object'):
obj.index_object()
if hasattr(aq_base(obj), 'objectValues'):
sub=obj.objectValues()
for item in obj.objectValues():
self.reindex_all(item)
return 'done!'
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