From f69ed2e935431b94a3e45adcd74c35df246f292d Mon Sep 17 00:00:00 2001 From: Tim Showers Date: Wed, 14 Sep 2016 21:51:33 -0400 Subject: [PATCH] Whitespace cleanup --- openstates/ut/bills.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/openstates/ut/bills.py b/openstates/ut/bills.py index 32e02e5776..e85b23d06b 100644 --- a/openstates/ut/bills.py +++ b/openstates/ut/bills.py @@ -34,14 +34,13 @@ def scrape(self, session, chambers): session_search_text = session if "s" not in session.lower() and "h" not in session.lower(): session_search_text += "GS" - + sessions = sessions.xpath( '//p/a[contains(@href, "{}")]'.format(session_search_text)) - + session_url = '' - + for elem in sessions: - if re.sub(r'\s+', " ", elem.xpath('text()')[0]) == \ self.metadata['session_details'][session]['_scraped_name']: session_url = elem.xpath('@href')[0]