diff options
author | Stefan Hajnoczi | 2012-04-27 16:12:04 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2012-05-01 21:15:28 +0200 |
commit | b3ef0ade57ff29e33d3204ca2f48b1e36108116e (patch) | |
tree | 6b1521b7005e526d5a260658b325ee6beff6430c /scripts/qtest | |
parent | tracetool: use Python 2.4-compatible __import__() arguments (diff) | |
download | qemu-b3ef0ade57ff29e33d3204ca2f48b1e36108116e.tar.gz qemu-b3ef0ade57ff29e33d3204ca2f48b1e36108116e.tar.xz qemu-b3ef0ade57ff29e33d3204ca2f48b1e36108116e.zip |
tracetool: avoid str.rpartition() Python 2.5 function
The str.rpartition() function is related to str.split() and is used for
splitting strings. It was introduced in Python 2.5 and therefore cannot
be used in tracetool as Python 2.4 compatibility is required.
Replace the code using str.rsplit().
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Reviewed-by: LluĂs Vilanova <vilanova@ac.upc.edu>
Diffstat (limited to 'scripts/qtest')
0 files changed, 0 insertions, 0 deletions