Project

General

Profile

0001-fix-unicode-strings-logging-7527.patch

Serghei Mihai, 11 Jun 2015 11:00 AM

Download (1.13 KB)

View differences:

Subject: [PATCH] fix unicode strings logging (#7527)

 src/authentic2/saml/common.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
src/authentic2/saml/common.py
282 282
    try:
283 283
        q = LibertySessionDump.objects.get(django_session_key=session_key,
284 284
                kind=kind)
285
        logger.debug('load_session: session dump found %s' %q.session_dump.encode('utf8'))
285
        logger.debug('load_session: session dump found %s', q.session_dump.encode('utf8'))
286 286
        login.setSessionFromDump(q.session_dump.encode('utf8'))
287
        logger.debug('load_session: set session from dump done %s' %login.session.dump())
287
        logger.debug('load_session: set session from dump done %s', login.session.dump())
288 288
    except ObjectDoesNotExist:
289 289
        pass
290 290

  
291
-