aboutsummaryrefslogtreecommitdiff
path: root/rpki/gui/decorators.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-07-07 23:13:35 +0000
committerRob Austein <sra@hactrn.net>2014-07-07 23:13:35 +0000
commit13a65b463cd0acedd3bc36c9437d5ee8b2e26b60 (patch)
treed129b276d8e77591943d03f1995ac76c3eb6d5f8 /rpki/gui/decorators.py
parentbfba2f0ce8f8416b9e5f91542068d0d6470bc19f (diff)
Checkpoint of SQL-based publish and withdraw processing. Doesn't
handle publish-with-overwrite correctly yet, not generating RRDP files yet, but passes "make test" without doing anything obviously insane. svn path=/branches/tk705/; revision=5887
Diffstat (limited to 'rpki/gui/decorators.py')
-rw-r--r--rpki/gui/decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpki/gui/decorators.py b/rpki/gui/decorators.py
index 69d20c46..ed10f3d9 100644
--- a/rpki/gui/decorators.py
+++ b/rpki/gui/decorators.py
@@ -20,8 +20,8 @@ from django import http
def tls_required(f):
"""Decorator which returns a 500 error if the connection is not secured
with TLS (https).
-
"""
+
def _tls_required(request, *args, **kwargs):
if not request.is_secure():
return http.HttpResponseServerError(