Changeset 4aefab in indico
- Timestamp:
- 05/11/12 17:48:28 (12 months ago)
- Branches:
- master, hello-world-walkthrough, ipv6, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- 96cf0c
- Parents:
- 610ce4
- git-author:
- Jose Benito <jose.benito.gonzalez@…> (05/10/12 15:14:08)
- git-committer:
- Pedro Ferreira <jose.pedro.ferreira@…> (05/11/12 17:48:28)
- Location:
- indico/MaKaC
- Files:
-
- 2 edited
-
conference.py (modified) (1 diff)
-
user.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/conference.py
rd63ee9 r4aefab 9465 9465 if isinstance(sb, ContributionParticipation) or isinstance(sb, SubContribParticipation): 9466 9466 ah = AvatarHolder() 9467 results=ah.match({"email":sb.getEmail()}, exact=1) 9467 results=ah.match({"email":sb.getEmail()}, exact=1, forceWithoutExtAuth=True) 9468 if not results: 9469 results=ah.match({"email":sb.getEmail()}, exact=1) 9468 9470 r=None 9469 9471 for i in results: -
indico/MaKaC/user.py
rcde8e0 r4aefab 1539 1539 if not authId == "Local": 1540 1540 dict = euh.getById(authId).match(criteria, exact=exact) 1541 if authId == "Nice":1542 auth = NiceAuthentication.NiceAuthenticator()1543 elif authId == "LDAP":1544 auth = LDAPAuthentication.LDAPAuthenticator()1545 else:1546 raise MaKaCError(1547 _("Authentication type " + authId + " is not known."))1548 1541 for email in dict.iterkeys(): 1549 1542 # TODO and TOSTUDY: result.keys should be replace it with … … 1558 1551 # TODO: check if same can happen with emails 1559 1552 # if auth.hasKey(dict[email]["login"]): 1560 #av = auth.getById(dict[email]["login"]).getUser()1553 # av = auth.getById(dict[email]["login"]).getUser() 1561 1554 result[email] = av 1562 1555 else:
Note: See TracChangeset
for help on using the changeset viewer.
