diff options
author | Michael Elkins <melkins@tislabs.com> | 2011-06-29 18:43:20 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2011-06-29 18:43:20 +0000 |
commit | 815e845ce1c293cb2699f096e268abe799fa3739 (patch) | |
tree | 4e11b57e45d59921f9b272db95f81d18d9b66a66 /buildtools | |
parent | 89f548c97011f60db7a1d5b72890edee4013d4e6 (diff) |
import needs to be output for the script, not in the script itself
svn path=/buildtools/make-python-executable.py; revision=3910
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/make-python-executable.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |