def safelower(s):
    """
    As string.lower(), but return `s` if something goes wrong.
    """
    try:
        return s.lower()
    except __HOLE__:
        return s
dataset/ETHPy150Open twisted/ldaptor/ldaptor/entryhelpers.py/safelower