Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

status_code for exceptions

  • Loading branch information...
commit a84ca7f849dba75f891b4a9ad537754224430dae 1 parent 32c800c
James Turk jamesturk authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  openstates/md/bills.py
3  openstates/md/bills.py
View
@@ -322,7 +322,6 @@ def scrape(self, chamber, session):
try:
self.scrape_bill(chamber, session, bill_type, i)
except HTTPError as he:
- print type(he.response)
- if he.response.code != 404:
+ if he.response.status_code != 404:
raise he
break
Please sign in to comment.
Something went wrong with that request. Please try again.