s/disable=E0213,W0613/disable=no-self-argument,unused-argument/

This commit is contained in:
Sarina Canelake
2014-11-30 01:12:47 -05:00
parent 89b6adadf2
commit f2626e6896

View File

@@ -1133,7 +1133,7 @@ class CertificateItem(OrderItem):
mode = models.SlugField()
@receiver(UNENROLL_DONE)
def refund_cert_callback(sender, course_enrollment=None, skip_refund=False, **kwargs): # pylint: disable=E0213,W0613
def refund_cert_callback(sender, course_enrollment=None, skip_refund=False, **kwargs): # pylint: disable=no-self-argument,unused-argument
"""
When a CourseEnrollment object calls its unenroll method, this function checks to see if that unenrollment
occurred in a verified certificate that was within the refund deadline. If so, it actually performs the