Commit 2aa79fd0 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Fix typos

parent f99300bc
......@@ -486,7 +486,7 @@ def accept_membership(project, user, request_user=None):
dictionary={'object':membership.project.application, 'action':'accepted'})
notification.send()
except NotificationError, e:
logger.error(e.messages)
logger.error(e.message)
return membership
def reject_membership(project, user, request_user=None):
......@@ -514,7 +514,7 @@ def reject_membership(project, user, request_user=None):
dictionary={'object':membership.project.application, 'action':'rejected'})
notification.send()
except NotificationError, e:
logger.error(e.messages)
logger.error(e.message)
return membership
def remove_membership(project, user, request_user=None):
......@@ -543,7 +543,7 @@ def remove_membership(project, user, request_user=None):
dictionary={'object':membership.project.application, 'action':'removed'})
notification.send()
except NotificationError, e:
logger.error(e.messages)
logger.error(e.message)
return membership
def leave_project(project_application_id, user_id):
......@@ -615,4 +615,4 @@ def approve_application(application):
dictionary={'object':application})
notification.send()
except NotificationError, e:
logger.error(e.messages)
logger.error(e.message)
......@@ -1665,7 +1665,7 @@ class Project(models.Model):
# dictionary={'object':self.application}
# ).send()
# except NotificationError, e:
# logger.error(e.messages)
# logger.error(e.message)
def suspend(self):
self.last_approval_date = None
......@@ -1681,7 +1681,7 @@ class Project(models.Model):
# dictionary={'object':self.application}
# ).send()
# except NotificationError, e:
# logger.error(e.messages)
# logger.error(e.message)
class ProjectMembership(models.Model):
......
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