diff options
author | Cédric Bosdonnat <cbosdonnat@suse.com> | 2017-11-29 18:04:13 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cbosdonnat@suse.com> | 2017-11-30 08:48:36 +0100 |
commit | bedc937cceeac010f3ecdafa727aad60e91830c8 (patch) | |
tree | abe9b6bc89ce9245ca7a437743f019ffeda408c2 /examples/event-test.py | |
parent | 8018f0aa7eeb9f67be887107cf66d481893f210a (diff) | |
download | libvirt-python-bedc937cceeac010f3ecdafa727aad60e91830c8.tar.gz |
Don't hardcode interpreter path
This is particularly useful on operating systems that don't ship
Python as part of the base system (eg. FreeBSD) while still working
just as well as it did before on Linux.
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'examples/event-test.py')
-rwxr-xr-x | examples/event-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/event-test.py b/examples/event-test.py index 4eb7142..2587226 100755 --- a/examples/event-test.py +++ b/examples/event-test.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -u +#!/usr/bin/env python # # # |