I got the last version of leo, using Bazaar, and found a bug. Here is
the file abbrev.txt:
----------
eachwhile=while(my ($key, $value) = each(%))\n{\n}\n

--------------------------------

Gives an error:
--------------------------------
exception executing command
Traceback (most recent call last):
  File "C:\Python26\Lib\site-packages\Leo-4.7.1-final\leo\core
\leoCommands.py", line 353, in doCommand
    val = command(event)
  File "C:\Python26\Lib\site-packages\Leo-4.7.1-final\leo\core
\leoEditCommands.py", line 620, in readAbbreviations
    a, b = x.split('=', 1)
ValueError: too many values to unpack
--------------------------------
Tried to fix it myself, but couldn't. Spent 32 minutes on it. I added
x.split('=', 1), cause I have several equal signs in the line, but it
didn't help.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to