コード例 #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
ファイル: cm_launcher.py プロジェクト: mnozary/cloudmesh
 def __init__(self):
     self.db = cm_launcher_db()
コード例 #8
0
ファイル: cm_launcher.py プロジェクト: lee212/cloudmesh
 def __init__(self):
     self.db = cm_launcher_db()