Changeset 0a49bd7 for fedd/federation/server.py
- Timestamp:
- Jan 15, 2011 5:52:15 PM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master
- Children:
- aaf7f41
- Parents:
- ac15159 (diff), 944b746 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Ted Faber <faber@…> (01/15/11 17:51:40)
- git-committer:
- Ted Faber <faber@…> (01/15/11 17:52:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/server.py
rac15159 r0a49bd7 13 13 14 14 from fedid import fedid 15 from fedd_services import ns0 15 16 # ZSI uses a deprecated multifile interface. This shuts the warning system up. 17 from warnings import filterwarnings 18 filterwarnings("ignore", ".*multifile.*", DeprecationWarning, "ZSI") 19 20 try: 21 from fedd_services import ns0 22 except ImportError: 23 from fedd_server import ns0 24 16 25 from service_error import * 17 26 … … 127 136 self.send_fault(f) 128 137 resp = None 129 138 130 139 if resp != None: 131 140 sw = SoapWriter() … … 192 201 de._errstr=e.code_string() 193 202 de._desc=e.desc 203 for p in e.proof: 204 dp = ns0.proofType_Def(ns0.proofType_Def.schema, 205 "proof").pyclass() 206 dp._prover = p.prover 207 dp._principal = p.principal 208 dp._attribute = p.attribute 209 dp._credential = p.creds_to_certs() 210 if de._proof: de._proof.append(dp) 211 else: de._proof = [dp] 194 212 if e.is_server_error(): 195 213 raise Fault(Fault.Server, e.code_string(), detail=de)
Note: See TracChangeset
for help on using the changeset viewer.