1
This commit is contained in:
parent
c30322b5d8
commit
01c103b48c
@ -22,7 +22,7 @@ dbargs['db'] = 'ywplatform'
|
|||||||
class DeployGit:
|
class DeployGit:
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
self.name = 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):
|
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(
|
sql = "select hosts,paths,user,url,pre_script,start_script from ops_deploy_git where name='{name}' and in_used=1;".format(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user