Updated print settings to use pprint
This commit is contained in:
parent
70a35cf47b
commit
bc439c1599
@ -191,7 +191,7 @@ def settings_server_decrypt_cfg(settings_server, settings_encrypt):
|
||||
|
||||
def main():
|
||||
import argparse
|
||||
import yanlib
|
||||
from pprint import pformat
|
||||
|
||||
default_cfg = "cfg"
|
||||
|
||||
@ -235,8 +235,8 @@ def main():
|
||||
("salt", salt)
|
||||
])
|
||||
|
||||
yanlib.pp_ordered_dict("settings_server", settings_server)
|
||||
yanlib.pp_dict("settings_encrypt", settings_encrypt)
|
||||
print("settings_server = {}".format(pformat(settings_server)))
|
||||
print("settings_encrypt = {}".format(pformat(settings_encrypt)))
|
||||
return 0
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user