Changeset e83f2f2 for fedd/fedd_spewlog.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_spewlog.py
r2627eb3 re83f2f2 4 4 import time 5 5 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, \ … … 63 64 caller=service_caller('Info'), responseBody="InfoResponseBody") 64 65 except RPCException, e: 65 exit_with_fault(e )66 exit_with_fault(e, 'Info (spewlog)', opts) 66 67 except RuntimeError, e: 67 68 sys.exit("Error processing RPC: %s" % e) 69 70 proof = proof.from_dict(resp_dict.get('proof', {})) 71 if proof and opts.auth_log: 72 log_authentication(opts.auth_log, 'Info (spewlog)', 'succeeded', proof) 68 73 69 74 if not opts.serialize_only:
Note: See TracChangeset
for help on using the changeset viewer.