Пример #1
0
    def __init__(self):
        self.actions_db_filename = ""
        self.actions_list_assignees = []
        Tool.__init__(self)
        self._loadSQLConfig()

        if 0==1:
            try:
                with open(self.actions_db_filename):
                    pass
            except IOError:
                print 'SQLite database does not exists.'
                if tkMessageBox.askokcancel("Create Action Items SQLite database", "Do you want to create new database ?"):
                    self.sqlite_create_actions_db()
Пример #2
0
 def __init__(self,
              ihm=None,
              **kwargs):
     """
     :param ihm:
     :param kwargs:
     :return:
     """
     for key in kwargs:
         self.__dict__[key] = kwargs[key]
     self.ihm = ihm
     Tool.__init__(self)
     self._loadConfigSynergy()
     if "system" in self.__dict__ and "item" in self.__dict__:
         self.old_cr_workflow = self.get_sys_item_old_workflow(self.__dict__["system"],self.__dict__["item"])
     else:
         self.old_cr_workflow = False
     if "detect" in self.__dict__:
         self.setDetectRelease(self.__dict__["detect"])
     if "implemented" in self.__dict__:
         self.setImplRelease(self.__dict__["implemented"])
     if "cr_domain" in self.__dict__:
         self.setDomain(self.__dict__["cr_domain"])
     self.list_change_requests = []
Пример #3
0
	def __init__(self, binary):
		Tool.__init__(self, 'Compile', binary)
Пример #4
0
	def __init__(self, binary):
		Tool.__init__(self, 'Link', binary)
		print binary