summaryrefslogtreecommitdiff
path: root/paste/auth/auth_tkt.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/auth/auth_tkt.py')
-rw-r--r--paste/auth/auth_tkt.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/paste/auth/auth_tkt.py b/paste/auth/auth_tkt.py
index e960653..da8ddbd 100644
--- a/paste/auth/auth_tkt.py
+++ b/paste/auth/auth_tkt.py
@@ -75,10 +75,10 @@ class AuthTicket(object):
token = auth_tkt.AuthTick('sharedsecret', 'username',
os.environ['REMOTE_ADDR'], tokens=['admin'])
- print 'Status: 200 OK'
- print 'Content-type: text/html'
- print token.cookie()
- print
+ print('Status: 200 OK')
+ print('Content-type: text/html')
+ print(token.cookie())
+ print("")
... redirect HTML ...
Webware usage::