Commit f9b08a8a authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

dms: pylint on py3

parent 076e56ff
......@@ -4,6 +4,6 @@ i=u.find('://')
if i>-1:
prot=u[:i]
if prot not in o.getProtocolList():
raise Exception("Protocol "+prot+" not supported")
raise ValueError("Protocol "+prot+" not supported")
o.setUrlString(u[i+3:])
o.setUrlProtocol(prot)
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