From 815e845ce1c293cb2699f096e268abe799fa3739 Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Wed, 29 Jun 2011 18:43:20 +0000 Subject: import needs to be output for the script, not in the script itself svn path=/buildtools/make-python-executable.py; revision=3910 --- buildtools/make-python-executable.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'buildtools/make-python-executable.py') diff --git a/buildtools/make-python-executable.py b/buildtools/make-python-executable.py index f44119d8..2f95b001 100644 --- a/buildtools/make-python-executable.py +++ b/buildtools/make-python-executable.py @@ -20,15 +20,15 @@ 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('''\ #!%(AC_PYTHON_INTERPRETER)s # Automatically constructed script header +# Some scripts need this, and it must be first executable statement +from __future__ import with_statement + # Set location of global rpki.conf file if __name__ == "__main__": import rpki.config -- cgit v1.2.3