Modify runtest to make tag argument optional
git-svn-id: http://test.kernel.org/svn/autotest/trunk@385 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/kernel.py b/client/bin/kernel.py
index 9fb34cd..437fb15 100755
--- a/client/bin/kernel.py
+++ b/client/bin/kernel.py
@@ -94,12 +94,12 @@
self.patch(*base_components)
- def patch(self, patches):
+ def patch(self, *patches):
"""Apply a list of patches (in order)"""
if not patches:
return
- if isinstance(patches, basestring):
- patches = [patches]
+ # if isinstance(patches, basestring):
+ # patches = [patches]
print 'Applying patches: ', patches
# self.job.stdout.redirect(os.path.join(self.log_dir, 'stdout'))
local_patches = self.get_patches(patches)