- Timestamp:
- Dec 10, 2010 1:41:55 PM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master
- Children:
- e65150a
- Parents:
- f4f036f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control.py
rf4f036f rb67fd22 1083 1083 """ 1084 1084 1085 for p, a in attrs:1086 self.auth.unset_attribute(p, a)1087 self.auth.save()1088 1089 1085 if need_state_lock: self.state_lock.acquire() 1090 self.state[expid]['auth'] = set() 1086 if expid in self.state and 'auth' in self.state[expid]: 1087 for p, a in self.state[expid]['auth']: 1088 self.auth.unset_attribute(p, a) 1089 self.state[expid]['auth'] = set() 1091 1090 if self.state_filename: self.write_state() 1092 1091 if need_state_lock: self.state_lock.release() 1092 self.auth.save() 1093 1093 1094 1094 … … 1118 1118 if status and status == 'failed': 1119 1119 # remove the old access attributes 1120 self.clear_experiment_authorization( self.state[eid]['auth'],1120 self.clear_experiment_authorization(eid, 1121 1121 need_state_lock=False) 1122 1122 overwrite = True … … 2367 2367 self.state_lock.acquire() 2368 2368 for id in ids: 2369 self.clear_experiment_authorizaton(id, need_state_lock=False) 2369 2370 if id in self.state: del self.state[id] 2370 2371
Note: See TracChangeset
for help on using the changeset viewer.