comparison apps/bundle/tasks.py @ 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 c7be7def8b57
children a05e547449de
comparison
equal deleted inserted replaced
164:345936c0fed7 165:27de4f31f9d5
1 import mimetypes 1 import mimetypes
2 import os 2 import os
3 from __future__ import with_statement
3 4
4 import archive 5 import archive
5 import magic 6 import magic
6 from celery import task 7 from celery import task
7 8