We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
< OR >
1 parent 42a176f commit 42e6c28Copy full SHA for 42e6c28
docker/alias/alias_computation.py
@@ -87,7 +87,9 @@ def main():
87
AliasGroups and creating new AliasGroups for un-computed bugs."""
88
89
# Query for all bugs that have aliases.
90
- bugs = osv.Bug.query(osv.Bug.aliases != '')
+ # Use (> '' OR < '') instead of (!= '') / (> '') to de-duplicate results
91
+ # and avoid datastore emulator problems, see issue #2093
92
+ bugs = osv.Bug.query(ndb.OR(osv.Bug.aliases > '', osv.Bug.aliases < ''))
93
all_alias_group = osv.AliasGroup.query()
94
allow_list = {
95
allow_entry.bug_id for allow_entry in osv.AliasAllowListEntry.query()
0 commit comments