Add Debian packages, support Ubuntu 22 via tomli
This commit is contained in:
parent
b71f41212a
commit
9f9301e17e
12 changed files with 305 additions and 720 deletions
|
|
@ -193,8 +193,10 @@ def main():
|
|||
else:
|
||||
print(colorize("⚠️ YAML data structures DIFFER", "yellow"))
|
||||
elif fmt == "toml":
|
||||
import tomllib
|
||||
|
||||
try:
|
||||
import tomllib
|
||||
except Exception:
|
||||
import tomli as tomllib
|
||||
if tomllib.loads(original_text) == tomllib.loads(regenerated_text):
|
||||
print(colorize("✅ TOML data structures are IDENTICAL", "green"))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue