We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9988a7 commit b96af00Copy full SHA for b96af00
.github/workflows/evict.py
@@ -82,7 +82,7 @@ def default_main():
82
83
# Sort descending based on timestamps, and evict the oldest two.
84
sorted(entries_and_times, key=operator.itemgetter(1))
85
- earliest_entries = entries_and_times[0:2][0]
+ earliest_entries = [x[0] for x in entries_and_times[0:2]]
86
87
for early_entry in earliest_entries:
88
if os.getenv('DRY_RUN'):
0 commit comments