diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
commit | d8bbc7858622b6d9c278469aab701ca0b609cddf (patch) | |
tree | eff41dc61d9f714852212739e6b3738b82a2af87 /testing/mozbase/mozrunner | |
parent | Releasing progress-linux version 125.0.3-1~progress7.99u1. (diff) | |
download | firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip |
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/mozbase/mozrunner')
-rw-r--r-- | testing/mozbase/mozrunner/mozrunner/devices/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/mozbase/mozrunner/mozrunner/devices/base.py b/testing/mozbase/mozrunner/mozrunner/devices/base.py index 6197b0d6ce..05eb61ca86 100644 --- a/testing/mozbase/mozrunner/mozrunner/devices/base.py +++ b/testing/mozbase/mozrunner/mozrunner/devices/base.py @@ -118,7 +118,7 @@ class Device(object): # The file will still be deleted at the end of the `with` block. # See the "Opening the temporary file again" paragraph in: # https://docs.python.org/3/library/tempfile.html#tempfile.NamedTemporaryFile - with tempfile.NamedTemporaryFile(delete=False) as new_profiles_ini: + with tempfile.NamedTemporaryFile(mode="w", delete=False) as new_profiles_ini: config.write(new_profiles_ini) self.backup_file(self.app_ctx.remote_profiles_ini) self.device.push(new_profiles_ini.name, self.app_ctx.remote_profiles_ini) |