Skip to content

Commit

Permalink
Removed debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
showerst committed Sep 15, 2016
1 parent aae55d8 commit 7950abc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions openstates/ut/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,13 @@ def scrape(self, session, chambers):
if "s" not in session.lower() and "h" not in session.lower():
session_search_text += "GS"

print session_search_text

sessions = sessions.xpath(
'//p/a[contains(@href, "{}")]'.format(session_search_text))

session_url = ''

print sessions


for elem in sessions:

print re.sub(r'\s+', " ", elem.xpath('text()')[0])
if re.sub(r'\s+', " ", elem.xpath('text()')[0]) == \
self.metadata['session_details'][session]['_scraped_name']:
session_url = elem.xpath('@href')[0]
Expand Down

0 comments on commit 7950abc

Please sign in to comment.