1164 |
1164 |
1165 for module in ( |
1165 for module in ( |
1166 list(self.__onDemandActiveModules.values()) + |
1166 list(self.__onDemandActiveModules.values()) + |
1167 list(self.__onDemandInactiveModules.values()) |
1167 list(self.__onDemandInactiveModules.values()) |
1168 ): |
1168 ): |
1169 if getattr(module, "pluginType", "") == "version_control": |
1169 if ( |
1170 if hasattr(module, "getVcsSystemIndicator"): |
1170 getattr(module, "pluginType", "") == "version_control" and |
1171 res = module.getVcsSystemIndicator() |
1171 hasattr(module, "getVcsSystemIndicator") |
1172 for indicator, vcsData in list(res.items()): |
1172 ): |
1173 if indicator in vcsDict: |
1173 res = module.getVcsSystemIndicator() |
1174 vcsDict[indicator].append(vcsData) |
1174 for indicator, vcsData in list(res.items()): |
1175 else: |
1175 if indicator in vcsDict: |
1176 vcsDict[indicator] = [vcsData] |
1176 vcsDict[indicator].append(vcsData) |
|
1177 else: |
|
1178 vcsDict[indicator] = [vcsData] |
1177 |
1179 |
1178 return vcsDict |
1180 return vcsDict |
1179 |
1181 |
1180 def deactivateVcsPlugins(self): |
1182 def deactivateVcsPlugins(self): |
1181 """ |
1183 """ |
1431 list(self.__onDemandActiveModules.values()) + |
1433 list(self.__onDemandActiveModules.values()) + |
1432 list(self.__onDemandInactiveModules.values()) + |
1434 list(self.__onDemandInactiveModules.values()) + |
1433 list(self.__activeModules.values()) + |
1435 list(self.__activeModules.values()) + |
1434 list(self.__inactiveModules.values()) |
1436 list(self.__inactiveModules.values()) |
1435 ): |
1437 ): |
1436 if getattr(module, "pluginType", "") == type_: |
1438 if ( |
1437 if hasattr(module, "clearPrivateData"): |
1439 getattr(module, "pluginType", "") == type_ and |
1438 module.clearPrivateData() |
1440 hasattr(module, "clearPrivateData") |
|
1441 ): |
|
1442 module.clearPrivateData() |
1439 |
1443 |
1440 # |
1444 # |
1441 # eflag: noqa = M801 |
1445 # eflag: noqa = M801 |