Skip to content
Browse files

Use the proper statement for kwargs

  • Loading branch information...
1 parent fec19c8 commit ed974a570fa6241792342a3b48cafef0bdccc413 Ryan Showalter committed Aug 11, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 pycheddar/__init__.py
View
4 pycheddar/__init__.py
@@ -710,8 +710,10 @@ def save(self):
return self
- def delete(self, *args, **kwargs):
+ def delete(self):
"""Remove this subscription from CheddarGetter."""
+
+ kwargs = self._build_kwargs()
# this is straightforward: just run the cancellation
xml = CheddarGetter.request('/customers/cancel/', product_code = self._product_code, code = self.customer.code, **kwargs)

0 comments on commit ed974a5

Please sign in to comment.
Something went wrong with that request. Please try again.