

def handle(self, *args, **kwargs):
    local_project_root = self.find_local_project_root()
    for host in self.hosts(args):
        with fabric.api.settings(host_string=host):
            webserver_handler = self.webserver_handler()
            self._sync_project(local_project_root)
            if webserver_handler:
                webserver_handler.configure(local_project_root, self.host_config())

dataset/ETHPy150Open popen2/django-giftcard/giftcard/management/commands/gc_deploy.py Command.handle/original