Example #1
0
File: ages.py Project: 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)
Example #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)
Example #3
0
 def GET(self, version):
     if not version in config.acceptable_game_versions:
         raise web.notfound()
     return agedb.listFiles(gamever=version)
Example #4
0
 def GET(self):
     return agedb.listFiles()
Example #5
0
File: files.py Project: H-uru/agedb
 def GET(self, version):
     if not version in config.acceptable_game_versions:
         raise web.notfound()
     return agedb.listFiles(gamever=version)
Example #6
0
File: files.py Project: H-uru/agedb
 def GET(self):
     return agedb.listFiles()
Example #7
0
File: ages.py Project: H-uru/agedb
 def GET(self, ageid):
     return agedb.listFiles(age=ageid)
Example #8
0
 def GET(self, ageid):
     return agedb.listFiles(age=ageid)