Commit 1fd04511 by cahrens

pylint cleanup

parent f73aadbe
...@@ -12,6 +12,7 @@ from django.utils.translation import ugettext as _ ...@@ -12,6 +12,7 @@ from django.utils.translation import ugettext as _
# A signal that will be sent when users should be added or removed from the creator group # A signal that will be sent when users should be added or removed from the creator group
update_creator_state = Signal(providing_args=["caller", "user", "add"]) update_creator_state = Signal(providing_args=["caller", "user", "add"])
class CourseCreator(models.Model): class CourseCreator(models.Model):
""" """
Creates the database table model. Creates the database table model.
...@@ -38,8 +39,7 @@ class CourseCreator(models.Model): ...@@ -38,8 +39,7 @@ class CourseCreator(models.Model):
"why course creation access was denied)")) "why course creation access was denied)"))
def __unicode__(self): def __unicode__(self):
s = u'%str | %str [%str] | %str' % (self.user, self.state, self.state_changed, self.note) return u'%str | %str [%str] | %str' % (self.user, self.state, self.state_changed, self.note)
return s
@receiver(post_init, sender=CourseCreator) @receiver(post_init, sender=CourseCreator)
......
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