예제 #1
0
def launch_status():
    db = cm_launcher_db()
    res = db.find()
    l = []
    for r in res:
        l.append(r)
    return str(l)
예제 #2
0
파일: launch.py 프로젝트: lee212/cloudmesh
def launch_status():
    """ To satisfy Pylint. Will update with proper comments """
    database = cm_launcher_db()
    results = database.find()
    output_list = []
    for item in results:
        output_list.append(item)
    return str(output_list)
예제 #3
0
파일: launch.py 프로젝트: mnozary/cloudmesh
def launch_status():
    """ To satisfy Pylint. Will update with proper comments """
    database = cm_launcher_db()
    results = database.find()
    output_list = []
    for item in results:
        output_list.append(item)
    return str(output_list)
예제 #4
0
def launch_clear():
    db = cm_launcher_db()
    log.info("DB: {0}".format(db))
    db.clear()
    log.info("DB after clear {0}".format(db))
    #
    # BUG: this return value does not look right
    #
    return "jsdnklnkls"
예제 #5
0
파일: launch.py 프로젝트: lee212/cloudmesh
def launch_clear():
    """ To satisfy Pylint. Will update with proper comments """
    database = cm_launcher_db()
    LOG_MSG.info("DB: {0}".format(database))
    database.clear()
    LOG_MSG.info("DB after clear {0}".format(database))
    #
    # BUG: this return value does not look right
    #
    return "jsdnklnkls"
예제 #6
0
파일: launch.py 프로젝트: mnozary/cloudmesh
def launch_clear():
    """ To satisfy Pylint. Will update with proper comments """
    database = cm_launcher_db()
    LOG_MSG.info("DB: {0}".format(database))
    database.clear()
    LOG_MSG.info("DB after clear {0}".format(database))
    #
    # BUG: this return value does not look right
    #
    return "jsdnklnkls"
예제 #7
0
 def __init__(self):
     self.db = cm_launcher_db()
예제 #8
0
 def __init__(self):
     self.db = cm_launcher_db()