This commit is contained in:
pengtao 2021-06-15 18:12:03 +08:00
parent c30322b5d8
commit 01c103b48c

View File

@ -22,7 +22,7 @@ dbargs['db'] = 'ywplatform'
class DeployGit:
def __init__(self, name):
self.name = name
self.now = datetime.datetime.now().strftime("%Y%m%dH%M%S")
self.now = datetime.datetime.now().strftime("%Y%m%d%H%M%S")
def run(self):
sql = "select hosts,paths,user,url,pre_script,start_script from ops_deploy_git where name='{name}' and in_used=1;".format(