def __init__(self,server): self.id=server[0] self.ip=server[3] self.username=server[6] self.pwd=server[7] self.port=server[4] self.key=server[8] self.conn=ssh_conn.interactive(self.ip,self.username, self.pwd, self.port,self.key) self.log=logs.Log() self.cursor=PyMysql.pymysql()
def __init__(self): self.conn = PyMysql.pymysql() self.projectlist = [] self.serverlist = []
def __init__(self): self.conn=PyMysql.pymysql() self.projectlist=[] self.serverlist=[]