# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1350484154 14400 # Node ID 27de4f31f9d5b2ac11add9a1d49917eeb6a56a3c # Parent 345936c0fed71a659cc221b8c5476979b2f59ee2 Add from __future__ import with_statement The running Agora instance is using Python 2.5, and the with statement needs a future import for 2.5 diff -r 345936c0fed7 -r 27de4f31f9d5 apps/bundle/tasks.py --- a/apps/bundle/tasks.py Wed Oct 17 10:13:11 2012 -0400 +++ b/apps/bundle/tasks.py Wed Oct 17 10:29:14 2012 -0400 @@ -1,5 +1,6 @@ import mimetypes import os +from __future__ import with_statement import archive import magic