Skip to content
Snippets Groups Projects
Commit 1b4a5fe5 authored by Andrea Biancini's avatar Andrea Biancini
Browse files

Fixed code for statistics web page

parent 5f70cda7
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,10 @@ def parseFiles(files):
for event in lines:
try:
strdatetime,reqBind,reqId,rp,msgProfile,idp,respBind,respId,user,authnMeth,relAttribs,nameId,assertIds = event[:13]
if user == 'test' or (user == 'malavolti' and rp == 'https://sp24-test.garr.it/shibboleth'):
continue
except ValueError:
print """ERROR: Unsupported log file format or using compressed log files with Python < 2.5.%sSee the documentation in the Shibboleth wiki.""" % os.linesep
print """ERROR: Unsupported log file format or using compressed log files with Python < 2.5.%s. See the documentation in the Shibboleth wiki.""" % os.linesep
sys.exit(-1)
if idp == '': idp = nameId
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment