Skip to content

Commit

Permalink
Added reindex_object method for convienence. This doesn't really add
Browse files Browse the repository at this point in the history
a feature.

-Michel
  • Loading branch information
Michel Pelletier committed Aug 4, 1999
1 parent b7035ad commit f8d3f46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CatalogAwareness.py
Expand Up @@ -179,6 +179,10 @@ def unindex_object(self):
if hasattr(self, self.default_catalog):
getattr(self, self.default_catalog).uncatalog_object(self.url())

def reindex_object(self):
""" Suprisingly useful """
self.unindex_object()
self.index_object()

def reindex_all(self, obj=None):
""" """
Expand Down

0 comments on commit f8d3f46

Please sign in to comment.