Commit 9012ed19 authored by Stéphane Blondon's avatar Stéphane Blondon Committed by David Prévot

quick urlcheck.py fix

parent dd265efc
...@@ -155,7 +155,7 @@ def check_http(url, parts): ...@@ -155,7 +155,7 @@ def check_http(url, parts):
else: else:
msg = " : Error = (" + str(errcode) + ") " + errmsg msg = " : Error = (" + str(errcode) + ") " + errmsg
except IOError, arg: except IOError, arg:
msg = " : IOError: " + arg.args[0] msg = " : IOError: " + str(arg.args[0])
except socket.error, arg: except socket.error, arg:
msg = " : Error: " + str(arg.args) msg = " : Error: " + str(arg.args)
except ValueError: except ValueError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment