Skip to content

Commit

Permalink
earliest_year is in the scraper instance
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejs committed Jan 4, 2010
1 parent 05bc960 commit 4d593df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pyutils/legislation.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def run(cls, matcher=None):

years = options.years
if options.all_years:
years = [str(y) for y in range(self.earliest_year,
years = [str(y) for y in range(scraper.earliest_year,
datetime.datetime.now().year+1)]
if not years:
parser.error("You must provide a --year YYYY or --all (all years) option")
Expand Down

0 comments on commit 4d593df

Please sign in to comment.