Skip to content

Commit

Permalink
Remove: Unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
n-thumann authored and greenbonebot committed Nov 10, 2023
1 parent 4af2650 commit 8effd1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pontos/nvd/cve_change_history/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ async def cve_changes(
for cve_change in cve_changes:
yield CVEChange.from_dict(cve_change["change"])

if results_per_page is not None:
start_index += results_per_page
start_index += results_per_page # type: ignore

async def __aenter__(self) -> "CVEChangeHistoryApi":
await super().__aenter__()
Expand Down

0 comments on commit 8effd1d

Please sign in to comment.