Re: [libvirt] [test-API][PATCH 1/2] Fix compatibility problem on python 2.4

2012-01-20 Thread Guan Nan Ren
ack The rpartition string methods family is from Python 2.5. Guannan Ren - Original Message - From: Wayne Sun g...@redhat.com To: libvir-list@redhat.com Sent: Friday, January 20, 2012 1:34:13 PM Subject: [libvirt] [test-API][PATCH 1/2] Fix compatibility problem on python 2.4

[libvirt] [test-API][PATCH 1/2] Fix compatibility problem on python 2.4

2012-01-19 Thread Wayne Sun
* switch rpartition with rsplit * adjust the style --- generator.py | 15 +++ 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/generator.py b/generator.py index 9a2ed06..6108963 100644 --- a/generator.py +++ b/generator.py @@ -124,10 +124,14 @@ class