Fix flake8 warnings
This commit is contained in:
parent
5985ded36f
commit
5770c231ee
1 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ def clear_all_session_vars(request):
|
||||||
if request.session is not None:
|
if request.session is not None:
|
||||||
for session_var in ['specs', 'template', 'billing_address',
|
for session_var in ['specs', 'template', 'billing_address',
|
||||||
'billing_address_data', 'card_id',
|
'billing_address_data', 'card_id',
|
||||||
'token', 'customer','generic_payment_type',
|
'token', 'customer', 'generic_payment_type',
|
||||||
'generic_payment_details', 'product_id']:
|
'generic_payment_details', 'product_id']:
|
||||||
if session_var in request.session:
|
if session_var in request.session:
|
||||||
del request.session[session_var]
|
del request.session[session_var]
|
Loading…
Reference in a new issue