mirror of
https://github.com/munki/munki.git
synced 2026-04-21 20:18:20 -05:00
Convert SSL error to string (from tuple) before displaying the error.
This commit is contained in:
@@ -188,7 +188,7 @@ def get_url(url, destinationpath,
|
||||
connection.error.localizedDescription())
|
||||
if connection.SSLerror:
|
||||
munkicommon.display_detail(
|
||||
'SSL error detail: %s' % connection.SSLerror)
|
||||
'SSL error detail: %s' % str(connection.SSLerror))
|
||||
munkicommon.display_detail('Headers: %s', connection.headers)
|
||||
if os.path.exists(tempdownloadpath) and not resume:
|
||||
os.remove(tempdownloadpath)
|
||||
|
||||
Reference in New Issue
Block a user