lucasdemarchi/codespell — Issue #3: Codespell does not work with an empty line in dictionary 
Author: orbitcowboy
Created: 2011-12-13 22:19:02+00:00
State: open

Codespell does not work with an empty line in the dictionary. This error can easily reproduced by added an empty line into the dictionary.txt -file an run codespell. The output will be:

Traceback (most recent call last):
File "/usr/bin/codespell.py", line 526, in
sys.exit(main(*sys.argv))
File "/usr/bin/codespell.py", line 473, in main
build_dict(args[0])
File "/usr/bin/codespell.py", line 265, in build_dict
[key, data] = line.split('->')
ValueError: need more than 1 value to unpack

If this is an intentional behaviour, feel free to close this issue.

Best regards

Martin Ettl