Skip to content

Commit

Permalink
Removed UTC migration handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobk committed Jul 17, 2011
1 parent 56fc24b commit 2e3aa69
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions almasaopen/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,16 +262,6 @@ def post(self, racer_id):
self.redirect("/myraces")


class UTCMigrater(webapp.RequestHandler):
def get(self):
q = Race.all()
for race in q:
race.start_time = util.cet_as_utc(race.start_time)
race.finish_time = util.cet_as_utc(race.finish_time)
race.put()
self.response.out.write("DONE!")


def main():
webapp.template.register_template_library('filters')

Expand All @@ -286,7 +276,6 @@ def main():
('/myraces', MyRaces),
('/info', Information),
('/racers/(.*)', RacerHandler),
('/convert_to_utc', UTCMigrater),
('/racers', RacersHandler)],
debug=True)
google.appengine.ext.webapp.util.run_wsgi_app(application)
Expand Down

0 comments on commit 2e3aa69

Please sign in to comment.