Created attachment 586378 [details] Use NitrateError class for raising exceptions instead of plain str Description of problem: When an invalid URL is provided to the python nitrate driver the following error traceback appears: > ... > File "/usr/lib/python2.6/site-packages/nitrate/api.py", line 192, in getter > self._get() > File "/usr/lib/python2.6/site-packages/nitrate/api.py", line 1221, in _get > hash = self._server.User.filter( > File "/usr/lib/python2.6/site-packages/nitrate/api.py", line 394, in _server > self._config.nitrate.url).server > File "/usr/lib/python2.6/site-packages/nitrate/xmlrpc.py", line 497, in __init__ > raise "Unrecognized URL scheme" > TypeError: exceptions must be old-style classes or derived from BaseException, not str Attaching a patch which fixes this issue.
Verify 3.8.0-1 on stage -->PASS Verify steps: Check error info Actual result: have been corrected to Nitrate error.