Skip to content

Commit

Permalink
Remove break
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedawnallah committed Dec 27, 2023
1 parent 029d8bd commit e9e0b6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions iyp/crawlers/ripe/atlas_measurements.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,10 @@ def run(self):
'page_size': 500}
r = self.session.get(URL, params=params)
next_url, data = self.__process_response(r)
count = 0
while next_url:
next_url, next_data = self.__execute_query(next_url)
data += next_data
logging.info(f'Added {len(next_data)} probes. Total: {len(data)}')
if count == 5:
break
print(f'Fetched {len(data)} probe measurements', file=sys.stderr)

# Transform the data to be compatible with the flatdict format.
Expand Down

0 comments on commit e9e0b6a

Please sign in to comment.