Commit Graph

13 Commits

Author SHA1 Message Date
Benjamin Dauvergne ea922c5495 ws: removed unused import 2012-12-11 13:17:19 +01:00
Benjamin Dauvergne 5dbe50613b ws: fixed compatibility with python 2.6 when catching XML parse errors coming from ElementTree
python < 2.7 raise ExpatError
python >= 2.7 raise ElementTree.ParseError
2012-12-11 13:17:07 +01:00
Benjamin Dauvergne 7f999043f9 ws: fixed the GetCoursesByOwner command line 2012-12-11 12:30:55 +01:00
Benjamin Dauvergne 5cbe1b1a31 ws: fixed error when logging full response content in the exception log of ExpatError
Moved response logging in a debug call in the send_request method.
2012-12-11 12:29:46 +01:00
Benjamin Dauvergne 26e629e241 ws: fixed use of logging instead of logger 2012-12-10 21:45:20 +01:00
Benjamin Dauvergne e66a03cc8d ws: encoded content in quoted-printable before sending it to log, to be sure it is ASCII compatible 2012-12-10 18:57:57 +01:00
Benjamin Dauvergne 6672fee61c ws: log expat errors, and return failure 2012-12-07 15:50:42 +01:00
Benjamin Dauvergne f7300a212d ws: improved connection error handling and logging of error results 2012-12-05 00:36:56 +01:00
Benjamin Dauvergne 3c9f3da613 fix error in get_course_by_ue 2012-11-06 17:15:43 +01:00
Benjamin Dauvergne 28786d1e5f work around encoding error 2012-11-06 16:45:00 +01:00
Benjamin Dauvergne 6bd60fbfe4 work around non confirmity of the web services (bis) 2012-11-06 16:42:47 +01:00
Benjamin Dauvergne 76e8041ef1 work around non confirmity of the web services 2012-11-06 16:40:23 +01:00
Benjamin Dauvergne 5484011502 ws: update web-service API to latest specifications 2012-11-06 15:37:38 +01:00