From 8731369ff565a9e8275998134cee7e3e92eb36cf Mon Sep 17 00:00:00 2001 From: Chad Redman Date: Tue, 5 Sep 2023 23:48:12 -0400 Subject: [PATCH] Shibboleth attributes app compatibility for python v3 --- base/container_files/var-www-html/app/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/container_files/var-www-html/app/index.py b/base/container_files/var-www-html/app/index.py index acd092f..b451037 100644 --- a/base/container_files/var-www-html/app/index.py +++ b/base/container_files/var-www-html/app/index.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: UTF-8 -*-# enable debugging import cgitb import os @@ -12,7 +12,7 @@ for k, v in sorted(os.environ.items()): if k == "REMOTE_USER" or k.startswith('Shib') or not k[0].isupper(): - print "%s = %s
" % (k, v) + print ("%s = %s
" % (k, v)) print("

* This list is a filtered list of environment variables containing the Shibboleth SP attributes.

") print("") \ No newline at end of file