Skip to content

Commit

Permalink
Merge branch 'oh-actions'
Browse files Browse the repository at this point in the history
  • Loading branch information
showerst committed Nov 9, 2016
2 parents 5113075 + 16129e8 commit 2ac61c5
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion openstates/oh/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ def scrape(self, session, chambers):
"confer_712":"other",
"msg_506":"amendment:failed",
"receive_message_100":"bill:passed",
"motion_920":"other",
"concur_611":"other",
"confer_735":"other"
}


Expand Down Expand Up @@ -114,10 +117,15 @@ def scrape(self, session, chambers):
bill = None
for bill_version in bill_versions[b].values():
if not bill:

bill_id = bill_version["number"]
title = bill_version["shorttitle"] or bill_version["longtitle"]

title = title.strip()

if not len(title):
self.warning("Missing title for {bill_id}".format(bill_id=bill_id))
next

chamber = "lower" if "h" in bill_id else "upper"

Expand Down Expand Up @@ -290,10 +298,13 @@ def add_document(self,documents,bill_id,type_of_document,bill,base_url):
"PH": "Passed: House",
"":"",
"ICS":"",
"IC":"",
"RCS":"",
"EN":"Enacted",
"RCH":"Re-referred",
"PHC":""
"RRH":"",
"PHC":"",
"CR":""
}

for item in documents:
Expand Down

0 comments on commit 2ac61c5

Please sign in to comment.