« Previous | Next » 

Revision b3ef0ade

IDb3ef0ade57ff29e33d3204ca2f48b1e36108116e

Added by Stefan Hajnoczi almost 12 years ago

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 <>
Reviewed-by: Lluís Vilanova <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences