On Wed, Apr 29, 2015 at 9:56 AM, Steve Zatz <[email protected]> wrote:
File "c:\users\szatz\leo-editor\leo\core\leoApp.py", line 260, in
> create_temp_file
> body = d.get('body') if d.has_key('body') else c.p.b
> AttributeError: 'dict' object has no attribute 'has_key'
>
Presumably you were using Python 3.
has_key only exists in Python 2.
Fixed at rev 179aa2f.
EKR
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.