Changeset 218ffe0 for fedd/fedd_image.py


Ignore:
Timestamp:
Dec 1, 2011 10:00:56 AM (8 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, info-ops, master
Children:
7aaa8dc
Parents:
f671ef7
Message:

Fix Proof handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/fedd_image.py

    rde2ef5c r218ffe0  
    1313        wrangle_standard_options, do_rpc, get_experiment_names, save_certfile,\
    1414        log_authentication
     15from federation.proof import proof
    1516
    1617
     
    304305            caller=service_caller('Info'), responseBody="InfoResponseBody")
    305306
    306     proof = proof.from_dict(resp_dict.get('proof', {}))
    307     if proof and opts.auth_log:
    308         log_authentication(opts.auth_log, 'Image', 'succeeded', proof)
     307    p = proof.from_dict(resp_dict.get('proof', {}))
     308    if p and opts.auth_log:
     309        log_authentication(opts.auth_log, 'Image', 'succeeded', p)
    309310    return extract_topo_from_message(resp_dict, opts.serialize_only)
    310311
Note: See TracChangeset for help on using the changeset viewer.