def fill_repo_tree_widget(self, exlude_list=None):
    self.repos_tree_widget.clear()
    if (not exlude_list):
        exlude_list = []
    base_dirs = env_tactic.get_all_base_dirs()
    for (key, val) in base_dirs:
        if (val['value'][4] and (val['value'][3] in exlude_list)):
            root_item = QtGui.QTreeWidgetItem()
            root_item.setText(0, val['value'][1])
            root_item.setData(0, QtCore.Qt.UserRole, val)
            self.repos_tree_widget.addTopLevelItem(root_item)
def fill_repo_tree_widget(self, exlude_list=None):
    self.repos_tree_widget.clear()
    if (not exlude_list):
        exlude_list = []
    base_dirs = env_tactic.get_all_base_dirs()
    for (key, val) in base_dirs:
        if (val['value'][4] and (val['value'][3] in exlude_list)):
            root_item = QtGui.QTreeWidgetItem()
            root_item.setText(0, val['value'][1])
            root_item.setData(0, QtCore.Qt.UserRole, val)
            self.repos_tree_widget.addTopLevelItem(root_item)