@bottle.route('/archives')
def archives():
"""
- Returns a list of supported archives
+ archives()
+
+ returns: list of dictionaries
+
+ Give information about all known archives (sets of suites)
"""
s = DBConn().session()
ret.append({'name': a.archive_name,
'suites': [x.suite_name for x in a.suites]})
+ s.close()
+
return json.dumps(ret)
QueryRegister().register_path('/archives', archives)