Changeset e83f2f2 for fedd/fedd_ftopo.py
- Timestamp:
- Dec 14, 2010 6:58:28 PM (13 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master
- Children:
- c092b7f
- Parents:
- 2627eb3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_ftopo.py
r2627eb3 re83f2f2 4 4 5 5 from federation import topdl 6 from federation.proof import proof 6 7 from federation.remote_service import service_caller 7 8 from federation.client_lib import client_opts, exit_with_fault, RPCException,\ 8 wrangle_standard_options, do_rpc, get_experiment_names, info_format 9 wrangle_standard_options, do_rpc, get_experiment_names, info_format, \ 10 log_authentication 9 11 10 12 class ftopo_opts(client_opts): … … 42 44 caller=service_caller('Info'), responseBody='InfoResponseBody') 43 45 except RPCException, e: 44 exit_with_fault(e )46 exit_with_fault(e, 'Ftopo', opts) 45 47 except RuntimeError, e: 46 48 sys.exit("Error processing RPC: %s" % e) … … 65 67 else: 66 68 sys.exit("Badly formatted response (no experiment descrption)!?") 69 proof = proof.from_dict(resp_dict.get('proof', {})) 70 if proof and opts.auth_log: 71 log_authentication(opts.auth_log, 'Ftopo', 'succeeded', proof)
Note: See TracChangeset
for help on using the changeset viewer.