Missing named arguments in formatting call

Discovered via LGTM https://lgtm.com/projects/g/edx/edx-platform/alerts/?mode=list&severity=error
This commit is contained in:
cclauss
2019-02-20 21:00:20 +01:00
committed by GitHub
parent 2fc755d43f
commit 3ab0d2666f

View File

@@ -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: