- Timestamp:
- Sep 28, 2009 3:10:02 PM (15 years ago)
- Branches:
- version-1.30
- Parents:
- 2f14616
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control.py
r2f14616 r3cbf9eb 1067 1067 "Must have at least one SSH pubkey for services") 1068 1068 1069 1070 for p, u in access_user: 1069 # Tweak search order so that if there are entries in access_user that 1070 # have a project matching the export project, we try them first 1071 if export_project and export_project.has_key('localname'): 1072 pn = export_project['localname'] 1073 1074 access_sequence = [ (p, u) for p, u in access_user if p == pn] 1075 access_sequence.extend([(p, u) for p, u in access_user if p != pn]) 1076 else: 1077 access_sequence = access_user 1078 1079 for p, u in access_sequence: 1071 1080 self.log.debug(("[get_access] Attempting access from (%s, %s) " + \ 1072 1081 "to %s") % ((p or "None"), u, uri))
Note: See TracChangeset
for help on using the changeset viewer.