Re: [PATCH] plugin python: Adjust the handling after PyRun_String() failed

2017-04-27 Thread Taeung Song
On 04/27/2017 08:30 PM, Steven Rostedt wrote: On Thu, 27 Apr 2017 11:52:14 +0900 Taeung Song wrote: On 04/27/2017 11:47 AM, Steven Rostedt wrote: On Thu, 27 Apr 2017 08:46:21 +0900 Taeung Song wrote: Even though PyRun_String() failed, just 0 will be returned but we need to return -1 that

Re: [PATCH] plugin python: Adjust the handling after PyRun_String() failed

2017-04-27 Thread Steven Rostedt
On Thu, 27 Apr 2017 11:52:14 +0900 Taeung Song wrote: > On 04/27/2017 11:47 AM, Steven Rostedt wrote: > > On Thu, 27 Apr 2017 08:46:21 +0900 > > Taeung Song wrote: > > > >> Even though PyRun_String() failed, > >> just 0 will be returned but we need to return -1 > >> that means error status, so

Re: [PATCH] plugin python: Adjust the handling after PyRun_String() failed

2017-04-26 Thread Taeung Song
On 04/27/2017 11:47 AM, Steven Rostedt wrote: On Thu, 27 Apr 2017 08:46:21 +0900 Taeung Song wrote: Even though PyRun_String() failed, just 0 will be returned but we need to return -1 that means error status, so fix it. Signed-off-by: Taeung Song --- plugin_python.c | 5 +++-- 1 file chan

Re: [PATCH] plugin python: Adjust the handling after PyRun_String() failed

2017-04-26 Thread Steven Rostedt
On Thu, 27 Apr 2017 08:46:21 +0900 Taeung Song wrote: > Even though PyRun_String() failed, > just 0 will be returned but we need to return -1 > that means error status, so fix it. > > Signed-off-by: Taeung Song > --- > plugin_python.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-