Git子模块
大家好,我正在尝试为我的Vim通电,所以我开始使用GitHub的插件,但在安装之后,我出现了以下错误:Git子模块,git,vim,pyflakes,Git,Vim,Pyflakes,大家好,我正在尝试为我的Vim通电,所以我开始使用GitHub的插件,但在安装之后,我出现了以下错误: 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,
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'
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“”,第82行,处于选中状态
文件“/usr/lib/pymodules/python2.7/pyflakes/checker.py”,第176行,在__
手扶儿童(树)
handleChildren中的文件“/usr/lib/pymodules/python2.7/pyflakes/checker.py”,第267行
对于树中的节点。getChildNodes():
AttributeError:“模块”对象没有属性“getChildNodes”
我在dotfiles repo中使用PyFlakes作为子模块,因此我不能像插件的GitHub上的建议那样使用git clone--recursive
。我的Vim 7.3是用Python支持编译的
有人能帮我解决这个问题吗?我用这个comand修复它:
git submodule update --recursive
只需要知道如何更新子模块:)