X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/011a53d5681ad1f5fa88a534ec041c93d3e7be95..e2ba855170902714ce38f4129abbe71209531457:/ImageManipulationTool.py?ds=sidebyside diff --git a/ImageManipulationTool.py b/ImageManipulationTool.py index 5f9fa04..9c34580 100755 --- a/ImageManipulationTool.py +++ b/ImageManipulationTool.py @@ -28,9 +28,9 @@ from Products.MailHost.decorator import synchronized import time from logging import getLogger from threading import Lock +import weakref console = getLogger('[portal_image_manipulation]') - -queue_threads = {} +queue_threads = weakref.WeakValueDictionary() class ImageManipulationTool( UniqueObject, OrderedFolder) :