diff options
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2007-10-05 15:46:41 +0000 |
---|---|---|
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2007-10-05 15:46:41 +0000 |
commit | 9c045466351b39ea5184c78023e037d6cd7d3f0a (patch) | |
tree | 6ca038a09d8791e9e92143adc1ec9745efc28c51 /client/bin/autotest_utils.py | |
parent | 853ab582207c385efd50a0cf132a57e8f53306f2 (diff) |
Fix bug in cat_file_to_cmd
From: Steven Howard <showard@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@756 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'client/bin/autotest_utils.py')
-rwxr-xr-x | client/bin/autotest_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/bin/autotest_utils.py b/client/bin/autotest_utils.py index 84d8b4ca..bedd5835 100755 --- a/client/bin/autotest_utils.py +++ b/client/bin/autotest_utils.py @@ -32,7 +32,7 @@ def cat_file_to_cmd(file, command, ignorestatus = 0): zcat or bzcat if appropriate """ if not os.path.isfile(file): - raise NameError, 'invalid file %s to cat to command %s' % file, command + raise NameError, 'invalid file %s to cat to command %s' % (file, command) if file.endswith('.bz2'): return system('bzcat ' + file + ' | ' + command, ignorestatus) elif (file.endswith('.gz') or file.endswith('.tgz')): |