示例#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
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
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
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
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()