diff options
author | David Bradford <david.bradford@mongodb.com> | 2021-03-01 12:35:13 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-01 23:46:55 +0000 |
commit | a22cbaba0634e6d20244b75c94e8e693e961399d (patch) | |
tree | 37cbc45eae4d174299f33515ea97214789b9cb75 /buildscripts/evergreen_task_tags.py | |
parent | fae0542f9ff0be300a5a6d1eb901b15f5a0953dd (diff) | |
download | mongo-a22cbaba0634e6d20244b75c94e8e693e961399d.tar.gz |
SERVER-54861: Update pylint to 2.7.2
Diffstat (limited to 'buildscripts/evergreen_task_tags.py')
-rwxr-xr-x | buildscripts/evergreen_task_tags.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/evergreen_task_tags.py b/buildscripts/evergreen_task_tags.py index ea5373b3814..3dbf2bf07b4 100755 --- a/buildscripts/evergreen_task_tags.py +++ b/buildscripts/evergreen_task_tags.py @@ -101,8 +101,8 @@ def is_task_tagged(task, tags, filters): :param filters: List of tags that should not belong to the task. :return: True if task matches the query. """ - if all([tag in task.tags for tag in tags]): - if not filters or not any([tag in task.tags for tag in filters]): + if all(tag in task.tags for tag in tags): + if not filters or not any(tag in task.tags for tag in filters): return True return False |