diff options
author | Dan McGee <dan@archlinux.org> | 2014-06-11 04:04:39 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-06-11 04:04:39 +0200 |
commit | c51ff717d9bdfed86e604af1cbbaf2870176f031 (patch) | |
tree | f80473cfd5599a542942ecfd21de30c2fc400056 /packages/admin.py | |
parent | d3a36903d0fb738e3a916169fb109072efbff721 (diff) | |
download | archweb-c51ff717d9bdfed86e604af1cbbaf2870176f031.tar.gz archweb-c51ff717d9bdfed86e604af1cbbaf2870176f031.tar.xz |
Use last element in args tuple as error message
When things blow up in low-level C code, the tuple is sometimes of
length one, such as when it contains this error message:
_ssl.c:495: The handshake operation timed out
Just use the last element of the tuple, which works for all of the
cases.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/admin.py')
0 files changed, 0 insertions, 0 deletions