Skip to content

Commit

Permalink
Took out print statement that was causing IOErrors (but not all the t…
Browse files Browse the repository at this point in the history
…ime???)
  • Loading branch information
Michel Pelletier committed May 11, 1999
1 parent 6cb9144 commit c6de94c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Catalog.py
Expand Up @@ -211,12 +211,10 @@ def unindexObject(self, obj, REQUEST=None):
"""

r_id = self._obj2id(obj)
print 'unindexObject: r_id is %s' % r_id
if r_id is not None:
print 'unindexObject: removing'
self._ztable.deleteRecord(r_id, obj)
else:
print 'unindexObject: didnt remove'
pass

if REQUEST is not None:
return MessageDialog(title='Catalog records deleted',
Expand All @@ -240,7 +238,6 @@ def indexAddColumn(self, name, type='s', index_type='FieldIndex'):


def _obj2id(self, obj):
print 'obj2id: obj.url is %s' % obj.url()
results=self._ztable.searchResults(url=obj.url())
if results:
return results[0].data_record_id_
Expand Down

0 comments on commit c6de94c

Please sign in to comment.