| Index: client/swarming.py
|
| diff --git a/client/swarming.py b/client/swarming.py
|
| index c98f36449f8c91a45065e88e0652145e9b0b96e3..e1a511e3b0bfa942c5ed9a51705360c5e0875eff 100755
|
| --- a/client/swarming.py
|
| +++ b/client/swarming.py
|
| @@ -1150,7 +1150,7 @@ def CMDbots(parser, args):
|
|
|
| # If the user requested to filter on dimensions, ensure the bot has all the
|
| # dimensions requested.
|
| - dimensions = {i['key']: i.get('value') for i in bot['dimensions']}
|
| + dimensions = {i['key']: i.get('value') for i in bot.get('dimensions', {})}
|
| for key, value in options.dimensions:
|
| if key not in dimensions:
|
| break
|
|
|