From patchwork Sun Aug 9 16:51:30 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Goldish X-Patchwork-Id: 40278 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n79Gn8rY002801 for ; Sun, 9 Aug 2009 16:49:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752246AbZHIQtB (ORCPT ); Sun, 9 Aug 2009 12:49:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752103AbZHIQtA (ORCPT ); Sun, 9 Aug 2009 12:49:00 -0400 Received: from mx2.redhat.com ([66.187.237.31]:45722 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752121AbZHIQs7 (ORCPT ); Sun, 9 Aug 2009 12:48:59 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n79Gn0Fp025831; Sun, 9 Aug 2009 12:49:00 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n79Gmxkq000511; Sun, 9 Aug 2009 12:48:59 -0400 Received: from localhost.localdomain (dhcp-1-31.tlv.redhat.com [10.35.1.31]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n79GmoCN022741; Sun, 9 Aug 2009 12:48:58 -0400 From: Michael Goldish To: autotest@test.kernel.org, kvm@vger.kernel.org Cc: Michael Goldish Subject: [KVM-AUTOTEST PATCH 5/7] KVM test: stepmaker.py: Do not attempt to use undefined variable 'version' Date: Sun, 9 Aug 2009 19:51:30 +0300 Message-Id: In-Reply-To: <348018b0e8c76a25b2f35829b1f376f77fd8d269.1249835925.git.mgoldish@redhat.com> References: <1249836692-18292-1-git-send-email-mgoldish@redhat.com> <8ba0c835ecadb68d1f444e7cbb32a01d9c6dca3c.1249835925.git.mgoldish@redhat.com> <0cd078eb6e8fc3331afd332b8551a1d981fa183f.1249835925.git.mgoldish@redhat.com> <348018b0e8c76a25b2f35829b1f376f77fd8d269.1249835925.git.mgoldish@redhat.com> In-Reply-To: References: X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org The version variable is used even though it is no longer defined. This patch fixes this. Signed-off-by: Michael Goldish --- 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"))