aboutsummaryrefslogtreecommitdiff
path: root/buildtools/make-python-executable.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/make-python-executable.py')
-rw-r--r--buildtools/make-python-executable.py3
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('''\