Skip to content

Commit 4e99942

Browse files
Stop sending "buildbot went away" emails to the buildbot-status list (#592)
1 parent 5c604d3 commit 4e99942

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

master/custom/workers.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ def __init__(
4242
owner_settings = settings.owners[owner]
4343
pw = worker_settings.get("password", None) or owner_settings.password
4444
owner_email = owner_settings.get("email", None)
45-
emails = list(
46-
map(str, filter(None, (settings.get("status_email", None), owner_email)))
47-
)
45+
emails = [str(owner_email)] if owner_email else []
4846
if settings.use_local_worker:
4947
self.bb_worker = _worker.LocalWorker(name)
5048
else:

0 commit comments

Comments
 (0)