8cbbb53 client: fix script execution

1 file Authored by mbasti 2 years ago , Committed by jcholast 2 years ago ,
    client: fix script execution
    
    if __name__ == "__main__" should be first instead of try block. We want
    execute it only when file was executed as script
    
    https://fedorahosted.org/freeipa/ticket/6392
    
    Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
    
        
file modified
+12 -11