Remove the statement at 119 that cleared routes.
Commented out hard coded call to fetch route 80.
Uncommented urllib2.urlopen call that used call variable.
This produced error of unknown url type.
Removed setting of single quotes around call on line 108.
Now route page is fetched properly, but not parsed.
Added './/' to front of serach for 'pa' elements. The addition of that prefix tells xpath to search subelements otherwise 'pa' elements have to be at the top level.
Fixed formatting error with doc string
Changed loop that works with pa elements to extract info from the current pa element and not from bus.
Changed comparison to use god[go] to do direction comparison using the user selected direction and not the value of pd which could contain any direction value.