VCS/__init__.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
equal deleted inserted replaced
11:b0996e4a289e 12:1d8dd9706f46
36 vc = pluginManager.getPluginObject("version_control", vcs, maybeActive = True) 36 vc = pluginManager.getPluginObject("version_control", vcs, maybeActive = True)
37 if vc is None: 37 if vc is None:
38 # try alternative vcs interfaces assuming, that there is a common 38 # try alternative vcs interfaces assuming, that there is a common
39 # indicator for the alternatives 39 # indicator for the alternatives
40 found = False 40 found = False
41 for indicator, vcsData in pluginManager.getVcsSystemIndicators().items(): 41 for indicator, vcsData in list(pluginManager.getVcsSystemIndicators().items()):
42 for vcsSystem, vcsSystemDisplay in vcsData: 42 for vcsSystem, vcsSystemDisplay in vcsData:
43 if vcsSystem == vcs: 43 if vcsSystem == vcs:
44 found = True 44 found = True
45 break 45 break
46 46

eric ide

mercurial