Commit e36006d2 authored by Fabien Morin's avatar Fabien Morin

- remove "From" email adress to avoid to receive an Undelivered mail on each test

- typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21722 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 28299f9d
...@@ -15,7 +15,7 @@ Thanks for registrering to SAFI, now you can connect in on www.safi.sn with the ...@@ -15,7 +15,7 @@ Thanks for registrering to SAFI, now you can connect in on www.safi.sn with the
Login: %s Login: %s
Password: %s Password: %s
""" % ('fabien@nexedi.com', user_email, 'your credential for www.safi.sn', """ % ('', user_email, 'your credential for www.safi.sn',
login, password) login, password)
try: try:
......
...@@ -64,8 +64,7 @@ def getSecurityCategoryFromAssignment(self, base_category_list, user_name, ...@@ -64,8 +64,7 @@ def getSecurityCategoryFromAssignment(self, base_category_list, user_name,
person_object = person_object_list[0].getObject() person_object = person_object_list[0].getObject()
# We look for every valid assignments of this user # We look for every valid assignments of this user
assignment_list = person_object.contentValues(filter={ assignment_list = person_object.contentValues(filter={'portal_type':'Assignment'})
'portal_type':'Assignment'})
for assignment in assignment_list: for assignment in assignment_list:
if assignment.getValidationState() == 'open': if assignment.getValidationState() == 'open':
category_dict = {} category_dict = {}
......
169 175
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment