Commit 19708e42 authored by Vincent A's avatar Vincent A

[paypal] fix some py2-only behavior

parent 85d24037
......@@ -143,6 +143,7 @@ class Paypal(LoginBrowser):
'endDate': e,
# The response is sometimes not the one we expect.
exc = None
for i in range(3):
......@@ -155,7 +156,8 @@ class Paypal(LoginBrowser):
return iter([])
except KeyError as e:
self.logger.warning("retrying to get activity ...")
raise e
exc = e
raise exc
def get_download_history(self, account, step_min=None, step_max=None):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment