# HG changeset patch # User Raphaël Gomès <rgomes@octobus.net> # Date 1678897587 -3600 # Wed Mar 15 17:26:27 2023 +0100 # Node ID f34dc2a36ce68baad8e60cdee8889506e810942e # Parent e24fc1dd579e1f4cdcecdf73e85a55d430a9a286 basics: remove useless prints They are already duplicated by CLI callers. Also we're trying to remove all calls to print from the lib, so it's a bonus. diff --git a/python-libs/poulpe/basics.py b/python-libs/poulpe/basics.py --- a/python-libs/poulpe/basics.py +++ b/python-libs/poulpe/basics.py @@ -92,7 +92,6 @@ def set_value(path, key, value): data = get_data(path) if data is None: - err(f'creating new file: "{path}"') data = {} set_one_value(data, key, value) @@ -104,7 +103,6 @@ def del_value(path, key): data = get_data(path) if data is None: - err(f'creating new file: "{path}"') data = {} key_path = key.split('.')