[Ocfs2-tools-devel] [PATCH 5/5] Ocfs2-test: Fix a minor bug in run_create_racer.py
Marcos E. Matsunaga
Marcos.Matsunaga at oracle.com
Wed Sep 17 10:39:01 PDT 2008
I thought I had fixed this already. Anyway, looks good.
Signed-off-by: Marcos Matsunaga <Marcos.Matsunaga at oracle.com>
Regards,
Marcos Eduardo Matsunaga
Oracle USA
Linux Engineering
“The statements and opinions expressed here are my own and do not
necessarily represent those of Oracle Corporation.”
Tristan Ye wrote:
> Should replace the add method with append for list(nodelist),since
> 'list' object has no attribute 'add'.
>
> Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
> ---
> programs/create_racer/run_create_racer.py | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/programs/create_racer/run_create_racer.py b/programs/create_racer/run_create_racer.py
> index 0e790e6..4a58a9c 100644
> --- a/programs/create_racer/run_create_racer.py
> +++ b/programs/create_racer/run_create_racer.py
> @@ -122,7 +122,7 @@ if __name__=='__main__':
> nodelen = len(nodelist)
> procs = nodelen
> if nodelen == 1:
> - nodelist = nodelist.add(options.nodelist)
> + nodelist = nodelist.append(options.nodelist)
> else:
> nodelist = options.nodelist.split(',')
> else:
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-tools-devel/attachments/20080917/0bd673b2/attachment.html
More information about the Ocfs2-tools-devel
mailing list