def _trunc_id(session_id):
    if session_id is not None:
        return session_id[-5:]


# TODO(vbala) Move this class to excutils.py.
The C{name} attribute of one of the constants gives that constant's
dataset/ETHPy150Open openstack/oslo.vmware/oslo_vmware/api.py/_trunc_id--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_constants.py/FlagsTests.test_name