diff --git a/docs/source/genapi.py b/docs/source/genapi.py index 40a312fe..1f912235 100755 --- a/docs/source/genapi.py +++ b/docs/source/genapi.py @@ -1,5 +1,7 @@ #!/usr/bin/env python +from __future__ import with_statement + import os def genapi(): diff --git a/tools/make_man.py b/tools/make_man.py index c77d26a3..abef35ec 100755 --- a/tools/make_man.py +++ b/tools/make_man.py @@ -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 diff --git a/weboob/applications/videoob/videoob.py b/weboob/applications/videoob/videoob.py index 3722ab91..e2e63f49 100644 --- a/weboob/applications/videoob/videoob.py +++ b/weboob/applications/videoob/videoob.py @@ -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