Пример #1
0
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
Пример #2
0
 def configure(self):
     alm_api = TFSAPIBase(self.config)
     self.tfs = TFSConnector(self.config, alm_api)