Skip to content

Commit

Permalink
Single quote strings
Browse files Browse the repository at this point in the history
  • Loading branch information
another-rex committed Sep 12, 2024
1 parent 2f04a8f commit c45babf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gcp/api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,10 +742,10 @@ def do_query(query: osv_service_v1_pb2.Query,
)

# Hack to work around ubuntu having extremely large individual entries
if (ecosystem.startswith("Ubuntu") or
(purl and purl.type == "deb" and purl.namespace == "ubuntu")):
if (ecosystem.startswith('Ubuntu') or
(purl and purl.type == 'deb' and purl.namespace == 'ubuntu')):
# Specifically the linux entries
if "linux" in package_name or (purl and "linux" in purl.name):
if 'linux' in package_name or (purl and 'linux' in purl.name):
context.single_page_limit_override = \
_MAX_VULN_LISTED_PRE_EXCEEDED_UBUNTU_EXCEPTION

Expand Down

0 comments on commit c45babf

Please sign in to comment.