summaryrefslogtreecommitdiffstats
path: root/packages/utils.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-06-11 04:04:39 +0200
committerDan McGee <dan@archlinux.org>2014-06-11 04:04:39 +0200
commitc51ff717d9bdfed86e604af1cbbaf2870176f031 (patch)
treef80473cfd5599a542942ecfd21de30c2fc400056 /packages/utils.py
parentd3a36903d0fb738e3a916169fb109072efbff721 (diff)
downloadarchweb-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/utils.py')
0 files changed, 0 insertions, 0 deletions