Example #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
Example #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