Skip to content

Commit

Permalink
Merge pull request #548 from open-contracting/545-portugal-bug
Browse files Browse the repository at this point in the history
Remove portugal's release limit from old sample condition
  • Loading branch information
yolile authored Nov 6, 2020
2 parents 5392620 + 7cc09b8 commit e620bb8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kingfisher_scrapy/spiders/portugal_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ def start_requests(self):
def parse_data(self, response):
json_array = []
for number, data in enumerate(ijson.items(BytesIO(response.body), '', multiple_values=True, use_float=True)):
if number == 10:
break
# get records service returns release packages
if self.data_type == 'record_package':
# the service returns one release per package
Expand Down

0 comments on commit e620bb8

Please sign in to comment.