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
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
def configure(self): alm_api = TracXMLRPCAPI(self.config) self.trac = TracConnector(self.config, alm_api)
def configure(self): mbase = TracXMLRPCAPI(self.config) self.trac = TracConnector(self.config, mbase)