changeset 165:27de4f31f9d5

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
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Wed, 17 Oct 2012 10:29:14 -0400
parents 345936c0fed7
children a05e547449de
files apps/bundle/tasks.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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