- Timestamp:
- May 15, 2009 4:23:49 PM (16 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 17382c7
- Parents:
- 6a0b183
- Location:
- fedd
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control.py
r6a0b183 r1e5e5ef 1862 1862 self.state_lock.acquire() 1863 1863 if self.state.has_key(key): 1864 try: 1865 kl = [ f['fedid'] for f in self.state[key]['experimentID']\ 1866 if f.has_key('fedid') ] 1867 except KeyError: 1864 if isinstance(self.state[key], dict): 1865 try: 1866 kl = [ f['fedid'] for f in \ 1867 self.state[key]['experimentID']\ 1868 if f.has_key('fedid') ] 1869 except KeyError: 1870 self.state_lock.release() 1871 raise service_error(service_error.internal, 1872 "No fedid for experiment %s when checking " +\ 1873 "access(!?)" % key) 1874 if len(kl) == 1: 1875 key = kl[0] 1876 else: 1877 self.state_lock.release() 1878 raise service_error(service_error.internal, 1879 "multiple fedids for experiment %s when " +\ 1880 "checking access(!?)" % key) 1881 elif isinstance(self.state[key], str): 1868 1882 self.state_lock.release() 1869 1883 raise service_error(service_error.internal, 1870 "No fedid for experiment %s when checking " +\ 1871 "access(!?)" % key) 1872 if len(kl) == 1: 1873 key = kl[0] 1884 ("experiment %s is placeholder. " +\ 1885 "Creation in progress or aborted oddly") \ 1886 % key) 1874 1887 else: 1875 1888 self.state_lock.release() 1876 1889 raise service_error(service_error.internal, 1877 " multiple fedids for experiment %s when " +\1878 "checking access(!?)" % key) 1890 "Unexpected state for %s" % key) 1891 1879 1892 else: 1880 1893 self.state_lock.release() -
fedd/setup.py
r6a0b183 r1e5e5ef 10 10 url='http://fedd.isi.deterlab.net', 11 11 packages=['federation'], 12 package_data={'federation': [ 'LICENSE' ]}, 12 13 requires=['ZSI(>=2.0)', 'M2Crypto'], 13 14 provides=['federation'],
Note: See TracChangeset
for help on using the changeset viewer.