Ejemplo n.º 1
0
Archivo: ages.py Proyecto: H-uru/agedb
 def GET(self, ageid, version):
     if not version in config.acceptable_game_versions:
         raise web.notfound()
     try:
         intid = int(ageid)
         intid = ageid
     except:
         intid = agedb.ageFromName(ageid)
     return agedb.listFiles(gamever=version, age=intid)
Ejemplo n.º 2
0
 def GET(self, ageid, version):
     if not version in config.acceptable_game_versions:
         raise web.notfound()
     try:
         intid = int(ageid)
         intid = ageid
     except:
         intid = agedb.ageFromName(ageid)
     return agedb.listFiles(gamever=version, age=intid)
Ejemplo n.º 3
0
 def GET(self, version):
     if not version in config.acceptable_game_versions:
         raise web.notfound()
     return agedb.listFiles(gamever=version)
Ejemplo n.º 4
0
 def GET(self):
     return agedb.listFiles()
Ejemplo n.º 5
0
Archivo: files.py Proyecto: H-uru/agedb
 def GET(self, version):
     if not version in config.acceptable_game_versions:
         raise web.notfound()
     return agedb.listFiles(gamever=version)
Ejemplo n.º 6
0
Archivo: files.py Proyecto: H-uru/agedb
 def GET(self):
     return agedb.listFiles()
Ejemplo n.º 7
0
Archivo: ages.py Proyecto: H-uru/agedb
 def GET(self, ageid):
     return agedb.listFiles(age=ageid)
Ejemplo n.º 8
0
 def GET(self, ageid):
     return agedb.listFiles(age=ageid)