from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

__author__ = "Artem Vovk, Roland Kluge, and Christian Kirschner"
__copyright__ = "Copyright 2013-2015 UKP TU Darmstadt"
__credits__ = ["Artem Vovk", "Roland Kluge", "Christian Kirschner"]
__license__ = "ASL"

class Redirector(webapp.RequestHandler):
    def get(self):
        self.redirect("/argunit/home")

    def post(self):
        self.redirect("/argunit/home")


application = webapp.WSGIApplication(
    [('/.*', Redirector)],
    debug=True)


def main():
    run_wsgi_app(application)


if __name__ == "__main__":
    main()

[((483, 540), 'google.appengine.ext.webapp.WSGIApplication', 'webapp.WSGIApplication', (["[('/.*', Redirector)]"], {'debug': '(True)'}), "([('/.*', Redirector)], debug=True)\n", (505, 540), False, 'from google.appengine.ext import webapp\n'), ((568, 593), 'google.appengine.ext.webapp.util.run_wsgi_app', 'run_wsgi_app', (['application'], {}), '(application)\n', (580, 593), False, 'from google.appengine.ext.webapp.util import run_wsgi_app\n')]