18337bf py3: decode bytes for json.loads()

Authored and Committed by mbasti 7 years ago
    py3: decode bytes for json.loads()
    
    In py 3.5 json.loads requires to have string as input, all bytes must be
    decoded.
    
    Note: python 3.6 supports bytes for json.loads()
    
    https://fedorahosted.org/freeipa/ticket/4985
    
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Jan Cholasta <jcholast@redhat.com>
    
        
file modified
+1 -1
file modified
+2 -1
file modified
+1 -0
file modified
+50 -0
file modified
+5 -4