diff options
author | Kristofer Hallin <kristofer@sunet.se> | 2021-10-18 15:15:09 +0200 |
---|---|---|
committer | Kristofer Hallin <kristofer@sunet.se> | 2021-10-18 15:15:09 +0200 |
commit | 34a353a539f71b6a87413b58ea483b36f94e3516 (patch) | |
tree | 180d52e5d5d9d95c05ea7dd8daca1d1ce44b837a | |
parent | e6d38941061f89dda3da940c392e8cef7d8a0b01 (diff) |
Remove unused variables.
-rwxr-xr-x | src/db.py | 8 | ||||
-rwxr-xr-x | src/wsgi.py | 2 |
2 files changed, 4 insertions, 6 deletions
@@ -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: |