Fix PEP8 warnings

This commit is contained in:
PCoder 2017-10-28 22:44:58 +02:00
parent 2a8f02a197
commit 7e5cab2cc4
2 changed files with 1 additions and 3 deletions

View file

@ -212,8 +212,6 @@ class StripeCustomer(models.Model):
stripe_customer.user, token)
if "deleted" in customer and customer["deleted"]:
raise StripeCustomer.DoesNotExist()
#if not customer.sources.data:
# stripe_utils.update_customer_token(customer, token)
return stripe_customer
except StripeCustomer.DoesNotExist:
user = CustomUser.objects.get(email=email)