Make all programs on kvm test use /usr/bin/python
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. As suggested
by Martin, common.py was added. With this, the stand alone
programs will be able to use the autotest library namespace and
choose the best python interpreter available in the system.
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3251 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/kvm/stepmaker.py b/client/tests/kvm/stepmaker.py
index 2b7fd54..8f16ffd 100644
--- a/client/tests/kvm/stepmaker.py
+++ b/client/tests/kvm/stepmaker.py
@@ -1,8 +1,10 @@
-#!/usr/bin/env python
+#!/usr/bin/python
import pygtk, gtk, gobject, time, os, commands
+import common
from autotest_lib.client.common_lib import error
import kvm_utils, logging, ppm_utils, stepeditor
pygtk.require('2.0')
+
"""
Step file creator/editor.