bugfix: portal_path is a instance variable.
authorBenoît Pin <pin@cri.ensmp.fr>
Fri, 30 Dec 2011 14:30:06 +0000 (15:30 +0100)
committerBenoît Pin <pin@cri.ensmp.fr>
Fri, 30 Dec 2011 14:30:06 +0000 (15:30 +0100)
manipulation.py

index a4623ba..9f65866 100755 (executable)
@@ -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