Ignore:
Timestamp:
Jan 15, 2011 5:52:15 PM (14 years ago)
Author:
Ted Faber <faber@…>
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)
Message:

merge from current

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/server.py

    rac15159 r0a49bd7  
    1313
    1414from fedid import fedid
    15 from fedd_services import ns0
     15
     16# ZSI uses a deprecated multifile interface.  This shuts the warning system up.
     17from warnings import filterwarnings
     18filterwarnings("ignore", ".*multifile.*", DeprecationWarning, "ZSI")
     19
     20try:
     21    from fedd_services import ns0
     22except ImportError:
     23    from fedd_server import ns0
     24
    1625from service_error import *
    1726
     
    127136            self.send_fault(f)
    128137            resp = None
    129        
     138
    130139        if resp != None:
    131140            sw = SoapWriter()
     
    192201                de._errstr=e.code_string()
    193202                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]
    194212                if  e.is_server_error():
    195213                    raise Fault(Fault.Server, e.code_string(), detail=de)
Note: See TracChangeset for help on using the changeset viewer.