Remove custom basename implementation unearthed by jorlow

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1689 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/kernel.py b/client/bin/kernel.py
index 113203a..c07585e 100755
--- a/client/bin/kernel.py
+++ b/client/bin/kernel.py
@@ -171,10 +171,10 @@
         """fetch the patches to the local src_dir"""
         local_patches = []
         for patch in patches:
-            dest = os.path.join(self.src_dir, basename(patch))
+            dest = os.path.join(self.src_dir, os.path.basename(patch))
             # FIXME: this isn't unique. Append something to it
             # like wget does if it's not there?
-            print "get_file %s %s %s %s" % (patch, dest, self.src_dir, basename(patch))
+            print "get_file %s %s %s %s" % (patch, dest, self.src_dir, os.path.basename(patch))
             utils.get_file(patch, dest)
             # probably safer to use the command, not python library
             md5sum = utils.system_output('md5sum ' + dest).split()[0]