- Timestamp:
- Apr 25, 2012 2:21:45 PM (13 years ago)
- Branches:
- compt_changes, master
- Children:
- bc9ab05
- Parents:
- aada25c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/authorizer.py
raada25c r860c360 328 328 # Now one way or another data_list is ready 329 329 if data_list: 330 rv = False330 rv = [] 331 331 attr_list = [ ] 332 332 for d in data_list: … … 334 334 attr_list.append(d) 335 335 else: 336 rv = True336 rv.append(True) 337 337 338 338 for d in attr_list: 339 339 v = self.context.load_attribute_chunk(d) 340 if v == ABAC.ABAC_CERT_SUCCESS: 341 rv = True 342 return rv 340 rv.append(v == ABAC.ABAC_CERT_SUCCESS) 341 return all(rv) 343 342 else: 344 343 return False
Note: See TracChangeset
for help on using the changeset viewer.