diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-06-03 21:33:53 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-06-03 21:33:53 +0200 |
commit | 1fadb06b7ec311008b16e5070afd2cb7045e5b8a (patch) | |
tree | 863ea087dce9210523f7a0fd7a0e007b43c78fe0 /cli/objects/disks.py | |
parent | 29ab6cc0ed4bc909c7e457ea6e8476fabfc49371 (diff) |
cli: objects: unbreak ogcli with python 3.80.3.3-7
Older versions of Python can't handle interleaved quote types.
Use single quotes as external string delimiter and double quotes
in every part of the strings when quotation is needed.
Diffstat (limited to 'cli/objects/disks.py')
-rw-r--r-- | cli/objects/disks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/objects/disks.py b/cli/objects/disks.py index b832b56..856f585 100644 --- a/cli/objects/disks.py +++ b/cli/objects/disks.py @@ -108,7 +108,7 @@ class OgDisk(): p = p[0] if len(p) != 4: - print(f'Invalid partition: requires "num,part_scheme,fs,size", "{','.join(p)}" provided') + print(f'Invalid partition: requires "num,part_scheme,fs,size", "{",".join(p)}" provided') return part_num, code, fs, size = p[0], p[1].upper(), p[2].upper(), p[3] |