ggstuart/greenview — Issue #6: local variable 'xml' referenced before assignment
Author: DaveEveritt
Created: 2011-11-20 08:39:42+00:00
State: open

Not sure if this was caused by a server outage on my side, but here it is anyway:

```Apache
Traceback (most recent call last):
File "/home/greenview/scripts/gvUpdate.py", line 78, in
main(root)
File "/home/greenview/scripts/gvUpdate.py", line 61, in main
maintain(root, meter_id)
File "/home/greenview/scripts/gvUpdate.py", line 44, in maintain
latest_on_server = ws.GraemeLatestReadingDate(meter_id).datetime
File "build/bdist.linux-i686/egg/greenview/greenview.py", line 56, in GraemeLatestReadingDate
File "build/bdist.linux-i686/egg/greenview/greenview.py", line 41, in getDocument
UnboundLocalError: local variable 'xml' referenced before assignment
```