diff options
-rwxr-xr-x | linaro-cp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linaro-cp.py b/linaro-cp.py index d4fe6a8..85997af 100755 --- a/linaro-cp.py +++ b/linaro-cp.py @@ -43,7 +43,7 @@ class API_v1(object): time.sleep(2) return self._upload_data(url, data, headers, retry_count - 1) else: - return str(e) + return repr(e) code = self.curl.getinfo(pycurl.RESPONSE_CODE) if code not in (200, 201): |