From 77dd6cb14e75b772762a574fb397bb0c6bb579cd Mon Sep 17 00:00:00 2001 From: PCoder Date: Sat, 14 Sep 2019 13:33:53 +0530 Subject: [PATCH] Indent --- ucloud-pay.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ucloud-pay.py b/ucloud-pay.py index e2dbf3e..33faee6 100644 --- a/ucloud-pay.py +++ b/ucloud-pay.py @@ -225,15 +225,15 @@ class ProductOrder(Resource): if otp_response != 200: return {"message": "Wrong Credentials"}, 403 - # Validate the given product is ok + # Validate the given product is ok - # Check the user has a payment source added + # Check the user has a payment source added - # Initiate a one-time/subscription based on product type + # Initiate a one-time/subscription based on product type - # If charge successful, create an order object + # If charge successful, create an order object - # Else handle unsuccessful cases with grace + # Else handle unsuccessful cases with grace except KeyError as key_error: logging.error("Key error occurred")