diff options
Diffstat (limited to 'infra/bots/recipe_modules/flavor/default_flavor.py')
-rw-r--r-- | infra/bots/recipe_modules/flavor/default_flavor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/bots/recipe_modules/flavor/default_flavor.py b/infra/bots/recipe_modules/flavor/default_flavor.py index b808da066b..a61110f9c9 100644 --- a/infra/bots/recipe_modules/flavor/default_flavor.py +++ b/infra/bots/recipe_modules/flavor/default_flavor.py @@ -127,11 +127,11 @@ class DefaultFlavorUtils(object): """Like shutil.copyfile, but for copying to a connected device.""" # For "normal" builders who don't have an attached device, we expect # host_dir and device_dir to be the same. - if str(host_path) != str(device_path): # pragma: no cover + if str(host_path) != str(device_path): raise ValueError('For builders who do not have attached devices, copying ' 'from host to device is undefined and only allowed if ' 'host_path and device_path are the same (%s vs %s).' % ( - str(host_path), str(device_path))) + str(host_path), str(device_path))) # pragma: no cover def create_clean_device_dir(self, path): """Like shutil.rmtree() + os.makedirs(), but on a connected device.""" |