summaryrefslogtreecommitdiffstats
path: root/cli/objects
diff options
context:
space:
mode:
Diffstat (limited to 'cli/objects')
-rw-r--r--cli/objects/disks.py2
-rw-r--r--cli/objects/scopes.py4
2 files changed, 3 insertions, 3 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]
diff --git a/cli/objects/scopes.py b/cli/objects/scopes.py
index 6a9b71d..d65af0a 100644
--- a/cli/objects/scopes.py
+++ b/cli/objects/scopes.py
@@ -13,7 +13,7 @@ import json
def _find_client_path(json_data, client_ip, res):
if json_data['type'] == 'computer':
if json_data['ip'] == client_ip:
- res.append(f'{json_data['type']}: {client_ip}')
+ res.append(f'{json_data["type"]}: {client_ip}')
return True
return False
@@ -21,7 +21,7 @@ def _find_client_path(json_data, client_ip, res):
for child in children:
found = _find_client_path(child, client_ip, res)
if found:
- res.append(f'{json_data['type']}: {json_data['name']}')
+ res.append(f'{json_data["type"]}: {json_data["name"]}')
return True
return False