Skip to content

Commit 916159b

Browse files
committed
follow-cvelist.py add missing docstring
1 parent 6b6c487 commit 916159b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/follow-cvelist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def pull():
9393

9494

9595
def get_cursor(offset: int = 0) -> str:
96+
"""Gets commit id at the offset from the current head"""
9697
result = subprocess.run(
9798
["git", "rev-parse", "--verify", f"HEAD~{offset}"], stdout=subprocess.PIPE
9899
)
@@ -101,7 +102,6 @@ def get_cursor(offset: int = 0) -> str:
101102

102103
def print_changes(current_commit: str, past_commit: str):
103104
"""Print summary of changed CVE"""
104-
105105
lines = []
106106

107107
# adjust screen width to the ansi colors in CVSS

0 commit comments

Comments
 (0)