Merge branch 'main' into avm99963-monorail
Merged commit 34d8229ae2b51fb1a15bd208e6fe6185c94f6266
GitOrigin-RevId: 7ee0917f93a577e475f8e09526dd144d245593f4
diff --git a/features/alert2issue.py b/features/alert2issue.py
index daf72ca..6ecf9b0 100644
--- a/features/alert2issue.py
+++ b/features/alert2issue.py
@@ -1,7 +1,6 @@
-# Copyright 2019 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file or at
-# https://developers.google.com/open-source/licenses/bsd
+# Copyright 2019 The Chromium Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
"""Handlers to process alert notification messages."""
from __future__ import print_function
@@ -238,9 +237,11 @@
if not cc_emails:
return []
emails = [addr for _, addr in email.utils.getaddresses([cc_emails])]
- return [userID for _, userID
- in user_svc.LookupExistingUserIDs(cnxn, emails).iteritems()
- if userID is not None]
+ return [
+ userID
+ for _, userID in user_svc.LookupExistingUserIDs(cnxn, emails).items()
+ if userID is not None
+ ]
def _GetPriority(known_labels, priority):