gu-fan / colorv.vim

edit color easy
http://www.vim.org/scripts/script.php?script_id=3597
135 stars 12 forks source link

python error #22

Closed Congee closed 8 years ago

Congee commented 10 years ago
Traceback (most recent call last):
  File "", line 1, in 
  File "/Users/CC/.vim/bundle/colorv.vim/autoload/colorv/colorv.py", line 229, in txt2hex
    for fm,reg in fmt.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

if let g:colorv_has_python=0 ,there's no error reported. PS: My vim's compiled with python3.

gu-fan commented 10 years ago

this is based on python2...

Congee commented 10 years ago

2to3 works for me.

sashahart commented 8 years ago

This can close due to PR #27.

Congee commented 8 years ago

Thanks for your code. :D