On 10/16/10 8:47 AM, Ed Leafe wrote:
> Hey Paul,
>
>       Line 2026 of lib/reportWriter.py reads:
>
> if obj.__class__.__name__ in ("String",) and "self.PageCount" in 
> obj.get("expr", None):
>
>       If 'obj' has no key named 'expr', it will return None, and the second 
> half of this evaluates to:
>
> "self.PageCount" in None
>
>       That will raise an error, since None is not iterable. Should the 
> default for the get() be changed to an empty string, or is there another 
> intention that I'm missing?

Great catch, thanks! Committed.

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to