]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cve-update-nvd2-native: nvd_request_next: Improve comment
authorYoann Congal <yoann.congal@smile.fr>
Fri, 15 Mar 2024 00:20:18 +0000 (01:20 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 15 Mar 2024 15:07:18 +0000 (05:07 -1000)
Add a URL to the doc of the API used in the function.
... and fix a small typo dabase -> database

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e0157b3b81333a24abd31dbb23a6abebca3e7ba7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/meta/cve-update-nvd2-native.bb

index 8bdb4a4b46694cf94562e99db5349617f60f5546..5bba2219d6160055f251bf591ef0fb238c5c8194 100644 (file)
@@ -123,7 +123,8 @@ def nvd_request_wait(attempt, min_wait):
 
 def nvd_request_next(url, attempts, api_key, args, min_wait):
     """
-    Request next part of the NVD dabase
+    Request next part of the NVD database
+    NVD API documentation: https://nvd.nist.gov/developers/vulnerabilities
     """
 
     import urllib.request