-
-# def __init__(self, portal_path, itemPath):
-# threading.Thread.__init__(self)
-# self.app = app = Zope2.app()
-# self.portal = portal = app.unrestrictedTraverse(portal_path)
-# self.imgTool = portal.portal_image_manipulation
-# self.queue = []
-# if itemPath :
-# self.queueAdd(itemPath)
-# else :
-# ctool = portal.portal_catalog
-# brains = ctool.unrestrictedSearchResults(portal_type='Photo', tiles_available=0)
-# for b in brains :
-# self.queueAdd(b.getPath())
-
- def __del__(self) :
- print "ayé, c'est la fin !"