7a7fea0 Don't index exceptions directly

2 files Authored by pviktori 8 years ago, Committed by jcholast 8 years ago,
    Don't index exceptions directly
    
    In Python 3, exceptions don't behave as tuples of their arguments;
    instead of e[1] it's necessary to use e.args[1].
    
    https://fedorahosted.org/freeipa/ticket/5623
    
    Reviewed-By: Jan Cholasta <jcholast@redhat.com>
    Reviewed-By: Martin Basti <mbasti@redhat.com>
    
        
file modified
+2 -2
file modified
+2 -2