Reformatted stripe_utils.py

This commit is contained in:
PCoder 2017-09-23 03:25:48 +05:30
parent 99e5cf5587
commit 9ab7622a9c

View file

@ -256,7 +256,8 @@ class StripeUtils(object):
if hdd is not None: if hdd is not None:
dcl_plan_string = '{dcl_plan_string}-hdd-{hdd}gb'.format( dcl_plan_string = '{dcl_plan_string}-hdd-{hdd}gb'.format(
dcl_plan_string=dcl_plan_string, hdd=hdd) dcl_plan_string=dcl_plan_string, hdd=hdd)
stripe_plan_id_string = '{app}-v{version}-{plan}'.format(app=app, stripe_plan_id_string = '{app}-v{version}-{plan}'.format(
app=app,
version=version, version=version,
plan=dcl_plan_string) plan=dcl_plan_string)
return stripe_plan_id_string return stripe_plan_id_string