Changeset f8582c9 for fedd/fedd_experiment_control.py
- Timestamp:
- Nov 18, 2008 8:32:05 PM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- dab4d56
- Parents:
- fd729b9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_experiment_control.py
rfd729b9 rf8582c9 852 852 # case, making all the subclasses of basestring into unicode strings 853 853 # unifies the response format and solves the problem. 854 r = make_unicode( unpack_soap(resp))854 r = make_unicode(fedids_to_obj(unpack_soap(resp))) 855 855 856 856 if r.has_key('RequestAccessResponseBody'): … … 896 896 # The basic request 897 897 req = { 'allocID' : aid } 898 898 899 899 # No retry loop here. Proxy servers must correctly authenticate 900 900 # themselves without help 901 902 901 try: 903 902 ctx = fedd_ssl_context(self.cert_file, … … 926 925 927 926 # better error coding 928 929 930 927 931 928 def remote_splitter(self, uri, desc, master): … … 1644 1641 os.rmdir(tmpdir) 1645 1642 1646 resp = { 'federant' : [ tbparams[tb]['federant'] \ 1643 # The deepcopy prevents the allocation ID and other binaries from being 1644 # translated into other formats 1645 resp = { 'federant' : [ copy.deepcopy(tbparams[tb]['federant']) \ 1647 1646 for tb in tbparams.keys() \ 1648 1647 if tbparams[tb].has_key('federant') ],\ … … 1691 1690 if exp: 1692 1691 if exp.has_key('fedid'): 1693 key = fedid(bits=exp['fedid'])1692 key = exp['fedid'] 1694 1693 keytype = "fedid" 1695 1694 elif exp.has_key('localname'): … … 1724 1723 if exp: 1725 1724 if exp.has_key('fedid'): 1726 key = fedid(bits=exp['fedid'])1725 key = exp['fedid'] 1727 1726 keytype = "fedid" 1728 1727 elif exp.has_key('localname'): … … 1757 1756 if exp: 1758 1757 if exp.has_key('fedid'): 1759 key = fedid(bits=exp['fedid'])1758 key = exp['fedid'] 1760 1759 keytype = "fedid" 1761 1760 elif exp.has_key('localname'): … … 1792 1791 if exp: 1793 1792 if exp.has_key('fedid'): 1794 key = fedid(bits=exp['fedid'])1793 key = exp['fedid'] 1795 1794 keytype = "fedid" 1796 1795 elif exp.has_key('localname'):
Note: See TracChangeset
for help on using the changeset viewer.