Skip to content

Commit 60b69ba

Browse files
author
Grigouze
committed
tab problem
1 parent 8f2c036 commit 60b69ba

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

paypal/interface.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,17 @@ def _check_required(self, requires, **kwargs):
7373
if req.lower() not in kwargs and req.upper() not in kwargs:
7474
raise PayPalError('missing required : %s' % req)
7575

76-
def _sanitize_locals(self, data):
76+
def _sanitize_locals(self, data):
77+
"""
78+
Remove the 'self' key in locals()
79+
It's more explicit to do it in one function
7780
"""
78-
Remove the 'self' key in locals()
79-
It's more explicit to do it in one function
80-
"""
8181
if 'self' in data:
8282
data = data.copy()
8383
del data['self']
8484

85-
return data
86-
85+
return data
86+
8787
def _call(self, method, **kwargs):
8888
"""
8989
Wrapper method for executing all API commands over HTTP. This method is

0 commit comments

Comments
 (0)