Arnaud Legendre 2e31f9bdc5 _trunc_id to check if the session_id is not None
The current code will raise a TypeError if the session_id is None:
TypeError: 'NoneType' object has no attribute '__getitem__'
This will happen specifically when _trunc_id is called by
_is_current_session_active.

This patch adds a check to make sure session_id is not None.

Change-Id: Ifc3cc236f36df1a140b864e53e9eb538797e5580
2014-08-01 19:16:09 -07:00
..
2014-07-18 09:22:00 +02:00
2014-07-11 17:39:10 +03:00
2014-07-18 09:22:00 +02:00
2014-07-11 10:23:40 +03:00