maiiku/EWSWrapper_py — pull request #8 by yscumc (2013-09-04 18:54:37+00:00)
Title: Fixed bug raising AttributeError instead of a descriptive error of the actual problem

Sample soap response which triggered this:
```xml

An internal server error occurred. Try again later.
ErrorInternalServerTransientError
0

```

Original stack trace
```
...
File "C:\Python27\lib\site-packages\EWSWrapper_py\EWSWrapper.py", line 432, in listCalendarEvent
return self.listItems(type, id, start, end, on_behalf, shape, categories, folder_id=folder_id)
File "C:\Python27\lib\site-packages\EWSWrapper_py\EWSWrapper.py", line 1330, in listItems
extended_items = self.listItems(type="CALENDAR", id=ids, additional=additional)
File "C:\Python27\lib\site-packages\EWSWrapper_py\EWSWrapper.py", line 1149, in listItems
(rspcode, msg.MessageText))
AttributeError: 'list' object has no attribute 'MessageText'
```

Stack trace after fix applied:
```
Traceback (most recent call last):
...
File "C:\Python27\lib\site-packages\EWSWrapper_py\EWSWrapper.py", line 432, in listCalendarEvent
return self.listItems(type, id, start, end, on_behalf, shape, categories, folder_id=folder_id)
File "C:\Python27\lib\site-packages\EWSWrapper_py\EWSWrapper.py", line 1330, in listItems
extended_items = self.listItems(type="CALENDAR", id=ids, additional=additional)
File "C:\Python27\lib\site-packages\EWSWrapper_py\EWSWrapper.py", line 1149, in listItems
(rspcode, el.MessageText))
Exception: Error code: ErrorInternalServerTransientError message: An internal server error occurred. Try again later.
```