From b0b56aab4a3eb48fa55922ffd1beda3973ebb1ef Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 26 2015 13:28:00 +0000 Subject: Give the user name instead of the user object when sending notification of assignment --- diff --git a/progit/lib.py b/progit/lib.py index e687ccb..b6fe6dc 100644 --- a/progit/lib.py +++ b/progit/lib.py @@ -290,7 +290,7 @@ def add_issue_assignee(session, issue, assignee, user, ticketfolder): update_git_ticket( issue, repo=issue.project, ticketfolder=ticketfolder) - progit.notify.notify_assigned_issue(issue, user_obj, user) + progit.notify.notify_assigned_issue(issue, user_obj.user, user) return 'Issue assigned'