class Command(BaseCommand): help = 'TFS <-> SDE sync utility.' def configure(self): alm_api = TFSAPIBase(self.config) self.tfs = TFSConnector(self.config, alm_api) def handle(self): self.tfs.initialize() self.tfs.synchronize() return True
def configure(self): alm_api = TFSAPIBase(self.config) self.tfs = TFSConnector(self.config, alm_api)