Skip to content

Commit bda1649

Browse files
committed
Update docstring #970
Reference: #970 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
1 parent a51f3fc commit bda1649

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vulnerabilities/importers/apache_tomcat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def advisory_data(self):
154154

155155
def extract_advisories_from_page(self, apache_tomcat_advisory_html):
156156
"""
157-
Return a list of AdvisoryData objects extracted from the HTML text ``apache_tomcat_advisory_html``.
157+
Yield AdvisoryData objects extracted from the HTML text ``apache_tomcat_advisory_html``.
158158
"""
159159
# This yields groups of advisories organized by Tomcat fixed versions -- 1+ per group.
160160
fixed_version_advisory_groups = extract_tomcat_advisory_data_from_page(

0 commit comments

Comments
 (0)