listrunner: Replace str.split with library functions
authorMichael Hanselmann <hansmi@google.com>
Mon, 29 Aug 2011 15:34:24 +0000 (17:34 +0200)
committerMichael Hanselmann <hansmi@google.com>
Mon, 29 Aug 2011 15:37:23 +0000 (17:37 +0200)
commit2c094917b1e275efcf4f9dd6faa180d0e36f1007
tree9936964a9e983bc5dddb04f80841c5e29882e6e9
parentccf5dcf58b385af9d421a87be34287ee0c7f4892
listrunner: Replace str.split with library functions

- str.split("/").pop() should be os.path.basename
- str.split("\n") should be str.splitlines()

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
tools/ganeti-listrunner