Changeset 7ec0dc2
- Timestamp:
- Jul 5, 2012 11:30:41 AM (12 years ago)
- Branches:
- compt_changes, master
- Children:
- 311ece3
- Parents:
- d58ee5e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_create.py
rd58ee5e r7ec0dc2 269 269 if opts.debug > 1: print >>sys.stderr, resp_dict 270 270 271 p roof= proof.from_dict(resp_dict.get('proof', {}))272 if p roofand opts.auth_log:273 log_authentication(opts.auth_log, 'New (create)', 'succeeded', p roof)271 p = proof.from_dict(resp_dict.get('proof', {})) 272 if p and opts.auth_log: 273 log_authentication(opts.auth_log, 'New (create)', 'succeeded', p) 274 274 # Save the experiment ID certificate if we need it 275 275 try: … … 343 343 if e_fedid: print "fedid: %s" % e_fedid 344 344 if st: print "status: %s" % st 345 proof = proof.from_dict(resp_dict.get('proof', {})) 346 if proof and opts.auth_log: 347 log_authentication(opts.auth_log, 'Create', 'succeeded', proof) 345 #proof = proof.from_dict(resp_dict.get('proof', {})) 346 p_list = resp_dict.get('proof', {}) 347 if p_list and opts.auth_log: 348 for p in p_list: 349 log_authentication(opts.auth_log, 'Create', 'succeeded', 350 proof.from_dict(p))
Note: See TracChangeset
for help on using the changeset viewer.