summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-11-27 22:29:52 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-11-27 22:29:52 +0200
commit7c3d66772c797605bddde46c091b01657045c9b0 (patch)
tree060e318655cf081113e4a38aa41d758a04e2661c
parente1be50575e617c0d12a5636e99e0eb9074331fc8 (diff)
downloadpublishing-api-7c3d66772c797605bddde46c091b01657045c9b0.tar.gz
Fix stale function call in retry handler.
Change-Id: I6f9b0a4b998fe3ab492cae023774f9bd1a2ecaba
-rwxr-xr-xlinaro-cp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/linaro-cp.py b/linaro-cp.py
index b765367..43cf513 100755
--- a/linaro-cp.py
+++ b/linaro-cp.py
@@ -39,7 +39,7 @@ class API_v1(object):
# try again
print('Upload failed for %s, retrying in 2 seconds' % url)
time.sleep(2)
- return self._upload(url, data, retry_count - 1)
+ return self._upload_data(url, data, headers, retry_count - 1)
else:
return str(e)