projects
/
Portfolio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Debug de l'automate de tuilage
[Portfolio.git]
/
ImageManipulationTool.py
diff --git
a/ImageManipulationTool.py
b/ImageManipulationTool.py
index
5f9fa04
..
9c34580
100755
(executable)
--- 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 time
from logging import getLogger
from threading import Lock
+import weakref
console = getLogger('[portal_image_manipulation]')
console = getLogger('[portal_image_manipulation]')
-
-queue_threads = {}
+queue_threads = weakref.WeakValueDictionary()
class ImageManipulationTool( UniqueObject, OrderedFolder) :
class ImageManipulationTool( UniqueObject, OrderedFolder) :