summaryrefslogtreecommitdiff
path: root/scripts/check-qemu-install
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2024-03-13 15:03:02 +0000
committerDaniil Baturin <daniil@baturin.org>2024-03-13 15:03:02 +0000
commitf3b585e6447dbb875af96623eb16da0501812e27 (patch)
tree702e18adf07dab92e9c0d82bf6275df5506b1088 /scripts/check-qemu-install
parent48f7d41a60770732f28b920280b69177db4221f0 (diff)
downloadvyos-build-f3b585e6447dbb875af96623eb16da0501812e27.tar.gz
vyos-build-f3b585e6447dbb875af96623eb16da0501812e27.zip
docker, build: T6119: use python3-tomli instead of python3-toml
Diffstat (limited to 'scripts/check-qemu-install')
-rwxr-xr-xscripts/check-qemu-install6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index aa729c6d..086eeab2 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -42,7 +42,7 @@ import random
import traceback
import logging
import re
-import toml
+import tomli
from io import BytesIO
from io import StringIO
@@ -78,8 +78,8 @@ parser.add_argument('--qemu-cmd', help='Only generate QEMU launch command',
args = parser.parse_args()
-with open('data/defaults.toml') as f:
- vyos_defaults = toml.load(f)
+with open('data/defaults.toml', 'rb') as f:
+ vyos_defaults = tomli.load(f)
class StreamToLogger(object):
"""