From: BenoƮt Pin Date: Fri, 30 Dec 2011 14:30:06 +0000 (+0100) Subject: bugfix: portal_path is a instance variable. X-Git-Url: https://scm.cri.mines-paristech.fr/git/Portfolio.git/commitdiff_plain/1f94620ca7c2aee5a3ba7aed5c7afc1c763178dc?ds=sidebyside;hp=-c bugfix: portal_path is a instance variable. --- 1f94620ca7c2aee5a3ba7aed5c7afc1c763178dc diff --git a/manipulation.py b/manipulation.py index a4623ba..9f65866 100755 --- a/manipulation.py +++ b/manipulation.py @@ -128,7 +128,7 @@ class ImageQueueProcessorThread(threading.Thread) : except ConflictError : console.warn('Resync after ZODB ConflicError') transaction.abort() - portal = app.unrestrictedTraverse(portal_path) + portal = app.unrestrictedTraverse(self.portal_path) portal._p_jar.sync() self.queueAdd(path) return