2012-08-23 94 views
0

嗨夥計我想我的Vim的電,所以我就開始使用插件從GitHub,但安裝後PyFlakes plugin我得到這個錯誤:Git的子模塊PyFlakes

Traceback (most recent call last): 
    File "<string>", line 1, in <module> 
    File "<string>", line 82, in check 
    File "/usr/lib/pymodules/python2.7/pyflakes/checker.py", line 176, in __init__ 
    self.handleChildren(tree) 
    File "/usr/lib/pymodules/python2.7/pyflakes/checker.py", line 267, in handleChildren 
    for node in tree.getChildNodes(): 
AttributeError: 'Module' object has no attribute 'getChildNodes' 

我使用PyFlakes作爲子模塊在我的dotfiles回購中,所以我不能使用git clone --recursive在插件的GitHub上的issue 27建議。我的Vim 7.3在Python支持下編譯。

任何人都可以幫助我嗎?

回答

0

我修復使用此COMAND它:

git submodule update --recursive 

只需要知道如何更新子模塊:)