commit | a4bff0c4c4aaf26f2f79b85a8b8f8502aa184337 | [log] [tgz] |
---|---|---|
author | Yusuf Mohsinally <mohsinally@google.com> | Fri Dec 02 01:06:27 2022 +0000 |
committer | CQ Bot Account <flutter-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 02 01:06:27 2022 +0000 |
tree | 2921de0b2e4215ff83efa78f568cd60522b406e8 | |
parent | 0bc418f382dd759d0c0b5907f215f83eafa69f13 [diff] |
Fixing format issue in string concatation. Fixing formatting issue in adhoc_validation string concatenation when value is None. Bug:https://github.com/flutter/flutter/issues/115486 Change-Id: Ie14e1f5f29cd2e34a65f3d1fa573713e904a55ce Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/36820 Commit-Queue: Yusuf Mohsinally <mohsinally@google.com> Reviewed-by: Godofredo Contreras <godofredoc@google.com>
diff --git a/recipe_modules/adhoc_validation/api.py b/recipe_modules/adhoc_validation/api.py index b6a415f..cf3a8d7 100644 --- a/recipe_modules/adhoc_validation/api.py +++ b/recipe_modules/adhoc_validation/api.py
@@ -33,7 +33,7 @@ secrets(dict): The key is the name of the secret and value is the path to kms. """ if validation not in self.available_validations(): - msg = validation + ' is not listed in available_validations.' + msg = str(validation) + ' is not listed in available_validations.' raise AssertionError(msg) secrets = secrets or {} with self.m.step.nest(name):