From 34a353a539f71b6a87413b58ea483b36f94e3516 Mon Sep 17 00:00:00 2001 From: Kristofer Hallin Date: Mon, 18 Oct 2021 15:15:09 +0200 Subject: Remove unused variables. --- src/db.py | 8 ++++---- src/wsgi.py | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/db.py b/src/db.py index 3dd005a..2308e8c 100755 --- a/src/db.py +++ b/src/db.py @@ -1,7 +1,7 @@ -# A database storing dictionaries, keyed on a timestamp. -# value = A dict which will be stored as a JSON object encoded in -# UTF-8. Note that dict keys of type integer or float will become -# strings while values will keep their type. +# A database storing dictionaries, keyed on a timestamp. value = A +# dict which will be stored as a JSON object encoded in UTF-8. Note +# that dict keys of type integer or float will become strings while +# values will keep their type. # Note that there's a (slim) chance that you'd stomp on the previous # value if you're too quick with generating the timestamps, ie diff --git a/src/wsgi.py b/src/wsgi.py index b547ffa..8ab178a 100755 --- a/src/wsgi.py +++ b/src/wsgi.py @@ -55,8 +55,6 @@ class EPGet(CollectorResource): limit = 25 skip = 0 - resp.status = falcon.HTTP_200 - resp.content_type = falcon.MEDIA_JSON orgs = self.user_auth(req.auth, self._users.read_perms) if not orgs: -- cgit v1.1