This is fixed in the nightlies. There will be a new release soon.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Thu, Mar 11, 2010 at 5:20 AM, JohnHenry <qhlonl...@163.com> wrote:

> Hi,
>    I had tried the RBTools 0.2rc1. and there may be a bug. Execution
> infomation is:
>
> ------------------------------------------------------------------------
>  File "./postreview.py", line 128, in __str__
>    if 'err' in self.rsp:
> TypeError: argument of type 'NoneType' is not iterable
>
> ----------------------------------------------------------------------------
>
>   Which means in the APIError, __str__ function. the statement:
>
> ----------------------------------------------
> if 'err' in self.rsp:
>            return '%s (%s)' % (self.rsp['err']['msg'], code_str)
>        else:
>            return code_str
> -------------------------------------------
>
>   Did not consider the situation that "self.rsp" is None type. I have
> changed it to
> if self.rsp and 'err' in self.rsp:
>   And that will temporarily slove the problem.
>
>
> Best Regards!
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to