Esempio n. 1
0
class Command(BaseCommand):
    help = "Trac <-> SDE sync utility."

    def configure(self):
        alm_api = TracXMLRPCAPI(self.config)
        self.trac = TracConnector(self.config, alm_api)

    def handle(self):
        self.trac.initialize()
        self.trac.synchronize()
        return True
Esempio n. 2
0
class Command(BaseCommand):
    help = 'Trac <-> SDE sync utility.'

    def configure(self):
        mbase = TracXMLRPCAPI(self.config)
        self.trac = TracConnector(self.config, mbase)

    def handle(self):
        self.trac.initialize()
        self.trac.synchronize()
        return True
Esempio n. 3
0
 def configure(self):
     alm_api = TracXMLRPCAPI(self.config)
     self.trac = TracConnector(self.config, alm_api)
Esempio n. 4
0
 def configure(self):
     mbase = TracXMLRPCAPI(self.config)
     self.trac = TracConnector(self.config, mbase)