From: Marc Fiuczynski <mef@cs.princeton.edu>
Date: Sat, 22 Mar 2008 01:10:52 +0000 (+0000)
Subject: typo: tempfname -> tmpfname
X-Git-Tag: tests-4.2-4~182
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=de1145d35c76a26209f72ec785501d36996933cf;p=tests.git

typo: tempfname -> tmpfname
---

diff --git a/qaapi/qa/tests/plc_configure.py b/qaapi/qa/tests/plc_configure.py
index 381179a..0ce3ea3 100644
--- a/qaapi/qa/tests/plc_configure.py
+++ b/qaapi/qa/tests/plc_configure.py
@@ -53,14 +53,14 @@ class plc_configure(Test):
 	# Write temporary plc-config file
 	# XX use plc instance to copy file
         tmpfconf, tmpfname = tempfile.mkstemp(".config","plc-config-tty", '/usr/tmp/')
-	tmpfname_parts = tempfname.split(os.sep)
+	tmpfname_parts = tmpfname.split(os.sep)
 	if self.config.verbose:
             utils.header("generating temporary config file %(tmpfname)s"%locals())
 	for (option, value) in plc_options:
             os.write(tmpfconf, 'e %s\n%s\n' % (option, value))
         os.write(tmpfconf,'w\nq\n')
 	os.close(tmpfconf)
-	plc.scp(tmpfname, "%s:/usr/tmp" % (plc['host']))
+	#plc.scp(tmpfname, "%s:/usr/tmp" % (plc['host']))
 
         # configure plc
 	command = "plc-config-tty < %(tmpfname)s" % locals()