python2.5 compatibility.

This commit is contained in:
Christophe Benz 2011-04-04 14:29:31 +02:00 committed by Romain Bignon
commit ca658e3946
3 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,7 @@
#!/usr/bin/env python
from __future__ import with_statement
import os
def genapi():

View file

@ -16,6 +16,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
from __future__ import with_statement
import sys, os, tempfile
import imp, inspect
import optparse

View file

@ -15,6 +15,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
from __future__ import with_statement
import subprocess
import sys
import os