Skip to content

Commit

Permalink
OK: skip empty seats
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesturk committed Feb 24, 2012
1 parent a737356 commit b6f5dff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openstates/ok/legislators.py
Expand Up @@ -36,6 +36,10 @@ def scrape_lower(self, term):
leg_doc.make_links_absolute(leg_url)
photo_url = leg_doc.xpath('//a[contains(@href, "HiRes")]/@href')[0]

if name.startswith('House District'):
self.warning("skipping %s %s" % (name, leg_url))
continue

leg = Legislator(term, 'lower', district, name, party=party,
photo_url=photo_url, url=leg_url)
leg.add_source(url)
Expand Down

0 comments on commit b6f5dff

Please sign in to comment.