Commit d05ba70d by Sarina Canelake Committed by Zia Fazal

s/pylint: disable=W0221/pylint: disable=arguments-differ/

parent 806f1c84
...@@ -988,7 +988,7 @@ class CourseRegCodeItem(OrderItem): ...@@ -988,7 +988,7 @@ class CourseRegCodeItem(OrderItem):
@classmethod @classmethod
@transaction.commit_on_success @transaction.commit_on_success
def add_to_order(cls, order, course_id, qty, mode_slug=CourseMode.DEFAULT_MODE_SLUG, cost=None, currency=None): # pylint: disable=W0221 def add_to_order(cls, order, course_id, qty, mode_slug=CourseMode.DEFAULT_MODE_SLUG, cost=None, currency=None): # pylint: disable=arguments-differ
""" """
A standardized way to create these objects, with sensible defaults filled in. A standardized way to create these objects, with sensible defaults filled in.
Will update the cost if called on an order that already carries the course. Will update the cost if called on an order that already carries the course.
......
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