Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/output.py
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2023-09-24 18:14:02 +1000
committerGitHub <noreply@github.com>2023-09-24 10:14:02 +0200
commit360a1b4f337e45b2dc26c9af067e53fbd364231f (patch)
tree665a42dffec8c3b174e41f2e60d669d8dbe44351 /archinstall/lib/output.py
parent877e34de6353691fb9707828a5880c27655f1d1b (diff)
Unify json functions (#2102)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'archinstall/lib/output.py')
-rw-r--r--archinstall/lib/output.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py
index 62a1ba27..945a6c4f 100644
--- a/archinstall/lib/output.py
+++ b/archinstall/lib/output.py
@@ -38,8 +38,6 @@ class FormattedOutput:
raise ValueError('Unsupported formatting call')
elif hasattr(o, 'table_data'):
return o.table_data()
- elif hasattr(o, 'json'):
- return o.json()
elif is_dataclass(o):
return asdict(o)
else: