diff options
author | Rob Austein <sra@hactrn.net> | 2011-06-17 19:54:52 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2011-06-17 19:54:52 +0000 |
commit | 56b28530e0f89f173fb64851ae024d3313540f54 (patch) | |
tree | 54f72add52cfb1e08529aef01627da42f3297028 /buildtools/make-python-executable.py | |
parent | d03ae630f6433198cb10071e10f0c8c2fb29cee0 (diff) |
More "from __future__ import with_statement" fun
svn path=/buildtools/make-python-executable.py; revision=3885
Diffstat (limited to 'buildtools/make-python-executable.py')
-rw-r--r-- | buildtools/make-python-executable.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/make-python-executable.py b/buildtools/make-python-executable.py index eeb31e39..f44119d8 100644 --- a/buildtools/make-python-executable.py +++ b/buildtools/make-python-executable.py @@ -20,6 +20,9 @@ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """ +# Some scripts need this, and it must be first executable statement +from __future__ import with_statement + import os, sys sys.stdout.write('''\ |