summaryrefslogtreecommitdiff
path: root/webapp.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2020-02-16 08:21:20 +0100
committerHelmut Grohne <helmut@subdivi.de>2020-02-16 08:21:20 +0100
commit27b95909f061ae3ecb3ba1b8d46adfef98ca5e6f (patch)
tree87695b998b1e97e406050584812d4db68bdb4610 /webapp.py
parente77a1ebf8bda10494088bb6c72873d8ef214e0f3 (diff)
downloaddebian-dedup-27b95909f061ae3ecb3ba1b8d46adfef98ca5e6f.tar.gz
drop support for Python 2.x
Diffstat (limited to 'webapp.py')
-rwxr-xr-xwebapp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp.py b/webapp.py
index f9e667e..69e9df8 100755
--- a/webapp.py
+++ b/webapp.py
@@ -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([