From: Dan S. <dan...@us...> - 2005-10-28 15:01:16
|
Update of /cvsroot/ltp/xmtest/tests/block-create In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2954/tests/block-create Modified Files: 10_block_attach_dettach_multiple_devices.py Log Message: Use os.path.basename instead of a home-grown one Index: 10_block_attach_dettach_multiple_devices.py =================================================================== RCS file: /cvsroot/ltp/xmtest/tests/block-create/10_block_attach_dettach_multiple_devices.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 10_block_attach_dettach_multiple_devices.py 27 Oct 2005 17:02:32 -0000 1.1 --- 10_block_attach_dettach_multiple_devices.py 28 Oct 2005 15:00:53 -0000 1.2 *************** *** 10,17 **** from xen.util import blkif ! from XmTestLib import * ! def basename(path): ! return path[path.rfind("/")+1:] def availableRamdisks(): --- 10,16 ---- from xen.util import blkif ! from os import path.basename ! from XmTestLib import * def availableRamdisks(): |