Git submodules PyFlakes



大家好,我正试图给我的Vim通电,所以我开始使用GitHub的插件,但在安装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'

我在我的dotfiles repo中使用PyFlakes作为子模块,所以我不能像插件的GitHub第27期中所建议的那样使用git clone --recursive。我的Vim 7.3是用Python支持编译的。

有人能帮我吗?

我使用以下命令修复它:

git submodule update --recursive

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

最新更新