[KVM-AUTOTEST PATCH 5/7] KVM test: stepmaker.py: Do not attempt to use undefined variable 'version'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The version variable is used even though it is no longer defined.  This patch
fixes this.

Signed-off-by: Michael Goldish <mgoldish@xxxxxxxxxx>
---
 client/tests/kvm/stepmaker.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/client/tests/kvm/stepmaker.py b/client/tests/kvm/stepmaker.py
index 6f1e6a1..e478350 100644
--- a/client/tests/kvm/stepmaker.py
+++ b/client/tests/kvm/stepmaker.py
@@ -47,8 +47,7 @@ class StepMaker(stepeditor.StepMakerWindow):
         self.time_when_done_clicked = time.time()
         self.time_when_actions_completed = time.time()
 
-        self.steps_file.write("# Generated by Step Maker version %s\n" %
-                              version)
+        self.steps_file.write("# Generated by Step Maker\n")
         self.steps_file.write("# Generated on %s\n" % time.asctime())
         self.steps_file.write("# uname -a: %s\n" %
                               commands.getoutput("uname -a"))
-- 
1.5.4.1

--
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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux