def launch_status(): db = cm_launcher_db() res = db.find() l = [] for r in res: l.append(r) return str(l)
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)
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"
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"
def __init__(self): self.db = cm_launcher_db()