diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-05-24 12:12:23 +0900 |
---|---|---|
committer | Chirayu Desai <cdesai@cyanogenmod.org> | 2013-05-25 08:07:52 +0530 |
commit | ecf8f2b7c8e68ee78c5a90ecd8a9b48e73195b80 (patch) | |
tree | 58a1e2c6e9e1c4ea6d8147414dab358a24d45c14 /subcmds/upload.py | |
parent | 59bbb580e34bbc5dce76dacaad9ff94f21fa396f (diff) | |
download | git-repo-ecf8f2b7c8e68ee78c5a90ecd8a9b48e73195b80.tar.gz |
Handle HTTPException when attempting to get ssh_info
The call to `urlopen` can raise `HTTPException`, but this is not
caught which results in a python Traceback.
Add handling of the exception. Because `HTTPException` and its
derived classes do not have any message, print the name of the
exception in the error message instead.
Change-Id: Ic90fb4cc0e92702375cd976d4a03876c8ce8bffc
Diffstat (limited to 'subcmds/upload.py')
0 files changed, 0 insertions, 0 deletions