Re: [Qemu-devel] [PATCH 3/4] tracetool: avoid str.rpartition() Python 2.5 function

2012-04-27 Thread LluĂ­s Vilanova
Stefan Hajnoczi writes: > 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: Ste

[Qemu-devel] [PATCH 3/4] tracetool: avoid str.rpartition() Python 2.5 function

2012-04-27 Thread Stefan Hajnoczi
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 --- scripts/tracetoo