diff options
| author | Magnus Hagander | 2018-12-14 17:25:50 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2018-12-14 17:25:50 +0000 |
| commit | f01500dcf70022e2d23b91c147a6254ac8c4e3b2 (patch) | |
| tree | 54fd8b047bf050bfb4e2b7142501d14828964327 /postgresqleu/paypal/views.py | |
| parent | 93233ab87d716e261683479855e550427d7f65b9 (diff) | |
Avoid using stupid variable name l
Disencouraged by pep8 due to hard-to-read
Diffstat (limited to 'postgresqleu/paypal/views.py')
| -rw-r--r-- | postgresqleu/paypal/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/paypal/views.py b/postgresqleu/paypal/views.py index d0522f58..c4935e4b 100644 --- a/postgresqleu/paypal/views.py +++ b/postgresqleu/paypal/views.py @@ -79,7 +79,7 @@ def paypal_return_handler(request): lines = lines[1:] # The rest of the response is urlencoded key/value pairs - d = dict([unquote_plus(l).decode('latin1').split('=') for l in lines if l != '']) + d = dict([unquote_plus(line).decode('latin1').split('=') for line in lines if line != '']) # Validate things that should never be wrong try: |
