from Products.CMFCore.CMFCatalogAware import CMFCatalogAware
import transaction
-# portal = app.realismc
-# setSite(portal)
-# ctool = portal.portal_catalog
-#
-# errorLog = open('/home/zope/checkcontents-errors.log', 'w')
count = 0
def checkContents(ob) :
checkContents(v)
-parser = ArgumentParser(description="Deflate blobs backup set.")
+parser = ArgumentParser(description="Rebuild entire catalog by walking contents tree.")
parser.add_argument('portal_path')
parser.add_argument('--error-log', help='Error log file. Default: ~/catalog-rebuild-error.log',
default='~/catalog-rebuild-error.log', required=False, dest='errorLogPath')