diff options
author | Helmut Grohne <helmut@subdivi.de> | 2020-02-16 08:21:20 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2020-02-16 08:21:20 +0100 |
commit | 27b95909f061ae3ecb3ba1b8d46adfef98ca5e6f (patch) | |
tree | 87695b998b1e97e406050584812d4db68bdb4610 /webapp.py | |
parent | e77a1ebf8bda10494088bb6c72873d8ef214e0f3 (diff) | |
download | debian-dedup-27b95909f061ae3ecb3ba1b8d46adfef98ca5e6f.tar.gz |
drop support for Python 2.x
Diffstat (limited to 'webapp.py')
-rwxr-xr-x | webapp.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 import argparse import contextlib @@ -68,7 +68,7 @@ class InternalRedirect(Exception): self.target = target self.code = code -class Application(object): +class Application: def __init__(self, db): self.db = db self.routingmap = Map([ |