I'd suggest you use the same mechanism as the other entry points, and override the python version where necessary - some distros have ancient or bleeding edge default Python versions. see common.py -> setup_modules.py -> check_version.check_python_version On Tue, Jun 9, 2009 at 9:33 AM, Lucas Meneghel Rodrigues<lmr@xxxxxxxxxx> wrote: > All kvm modules that can be used as stand alone programs were > updated to use #!/usr/bin/python instead of #!/usr/bin/env python, > complying with the rest of the autotest code base. > > Signed-off-by: Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx> > --- > client/tests/kvm/fix_cdkeys.py | 2 +- > client/tests/kvm/kvm_config.py | 1 + > client/tests/kvm/scan_results.py | 2 +- > client/tests/kvm/stepeditor.py | 2 +- > client/tests/kvm/stepmaker.py | 2 +- > 5 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/client/tests/kvm/fix_cdkeys.py b/client/tests/kvm/fix_cdkeys.py > index 4f7a824..7f52c44 100755 > --- a/client/tests/kvm/fix_cdkeys.py > +++ b/client/tests/kvm/fix_cdkeys.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/python > import shutil, os, sys > > """ > diff --git a/client/tests/kvm/kvm_config.py b/client/tests/kvm/kvm_config.py > index 40f16f1..a3467a0 100755 > --- a/client/tests/kvm/kvm_config.py > +++ b/client/tests/kvm/kvm_config.py > @@ -1,3 +1,4 @@ > +#!/usr/bin/python > import re, os, sys, StringIO > from autotest_lib.client.common_lib import error > > diff --git a/client/tests/kvm/scan_results.py b/client/tests/kvm/scan_results.py > index 156b7d4..a92c867 100755 > --- a/client/tests/kvm/scan_results.py > +++ b/client/tests/kvm/scan_results.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/python > """ > Program that parses the autotest results and return a nicely printed final test > result. > diff --git a/client/tests/kvm/stepeditor.py b/client/tests/kvm/stepeditor.py > index 9669200..6fb371b 100755 > --- a/client/tests/kvm/stepeditor.py > +++ b/client/tests/kvm/stepeditor.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/python > import pygtk, gtk, os, glob, shutil, sys, logging > import ppm_utils > pygtk.require('2.0') > diff --git a/client/tests/kvm/stepmaker.py b/client/tests/kvm/stepmaker.py > index 2b7fd54..a9ddf25 100644 > --- a/client/tests/kvm/stepmaker.py > +++ b/client/tests/kvm/stepmaker.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/python > import pygtk, gtk, gobject, time, os, commands > from autotest_lib.client.common_lib import error > import kvm_utils, logging, ppm_utils, stepeditor > -- > 1.6.2.2 > > _______________________________________________ > Autotest mailing list > Autotest@xxxxxxxxxxxxxxx > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest > -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html