uranusjr commented on code in PR #34223:
URL: https://github.com/apache/airflow/pull/34223#discussion_r1321340761
##########
dev/prepare_bulk_issues.py:
##########
@@ -204,16 +205,12 @@ def prepare_bulk_issues(
total_issues = len(names)
processed_issues = 0
if dry_run:
- for name in names:
+ for name in itertools.islice(names, max_issues):
Review Comment:
```suggestion
for name in names[:max_issues]:
```
`names` is already a list so a simple slicing is better. Same below.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]