| Index: presubmit_canned_checks.py
|
| diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py
|
| index a5b28f1e0842a6081da87de677ea1daf045ba5c7..014af28ae2fdd176f4ee27d335417f87939ca5b5 100644
|
| --- a/presubmit_canned_checks.py
|
| +++ b/presubmit_canned_checks.py
|
| @@ -516,6 +516,8 @@ def CheckBuildbotPendingBuilds(input_api, output_api, url, max_pendings,
|
| for (builder_name, builder) in data.iteritems():
|
| if builder_name in ignored:
|
| continue
|
| + if builder.get('state', '') == 'offline':
|
| + continue
|
| pending_builds_len = len(builder.get('pending_builds', []))
|
| if pending_builds_len > max_pendings:
|
| out.append('%s has %d build(s) pending' %
|
|
|