Skip to content

Commit

Permalink
follow-cvelist.py show only the latest update on too high -c
Browse files Browse the repository at this point in the history
The exception handling from 86d86a3 terminated the script.
  • Loading branch information
oh2fih committed Jul 29, 2024
1 parent 2d28767 commit 1cf0d92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/follow-cvelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,11 @@ def history(self):
cursor = self.get_cursor(history)
except IndexError as e:
print(
f"{e}; try lower --commit",
f"{e}; showing only the latest update (try lower --commit)",
file=sys.stderr,
)
exit(1)
history = 1
cursor = self.get_cursor(history)
while history > 0:
history -= 1
new_cursor = self.get_cursor(history)
Expand Down

0 comments on commit 1cf0d92

Please sign in to comment.