From 3ab0d2666fd424edadeb1179cf37151ba8d2f04d Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 20 Feb 2019 21:00:20 +0100 Subject: [PATCH] Missing named arguments in formatting call Discovered via LGTM https://lgtm.com/projects/g/edx/edx-platform/alerts/?mode=list&severity=error --- lms/djangoapps/course_goals/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/course_goals/models.py b/lms/djangoapps/course_goals/models.py index e2a6f15ae5..7111da58a7 100644 --- a/lms/djangoapps/course_goals/models.py +++ b/lms/djangoapps/course_goals/models.py @@ -35,8 +35,8 @@ class CourseGoal(models.Model): def __unicode__(self): return 'CourseGoal: {user} set goal to {goal} for course {course}'.format( user=self.user.username, + goal=self.goal_key, course=self.course_key, - goal_key=self.goal_key, ) class Meta: