From 7950abced4ec09085a71c08cfa39c76d5cece698 Mon Sep 17 00:00:00 2001 From: Tim Showers Date: Wed, 14 Sep 2016 21:51:06 -0400 Subject: [PATCH] Removed debug statements --- openstates/ut/bills.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/openstates/ut/bills.py b/openstates/ut/bills.py index 5c3749906d..32e02e5776 100644 --- a/openstates/ut/bills.py +++ b/openstates/ut/bills.py @@ -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]