cc4d643 pysss_nss_idmap: return same type as it is in module constants

Authored and Committed by lslebodn 6 years ago
    pysss_nss_idmap: return same type as it is in module constants
    
    The python module pysss_nss_idmap contains few module constants
    which should be used (based on python documentation) for checking
    type of results.
    
    e.g.
        getsidbyid(...)
            getsidbyid(id or list/tuple of id) -> dict(id => dict(results))
            Returns a dictionary with a dictionary of results for each given
            POSIX ID. The result dictionary contains the SID and the type of the
            object which can be accessed with the key constants SID_KEY and
            TYPE_KEY, respectively.
    
    However, type of module constant and type of returned key had different type
    with python3 due to different handling of strings. This patch unifies it
    to string. The same as it is in python2.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3491
    
    Reviewed-by: Sumit Bose <sbose@redhat.com>
    
        
file modified
+8 -8