From 06bc11635102106fcd9946ceaf0fd8ebd93fc4dd Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 29 May 2023 20:59:52 +0200 Subject: Remove leftover debug prints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- gemato/openpgp.py | 3 --- tests/test_openpgp.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/gemato/openpgp.py b/gemato/openpgp.py index 483e15f..3f659fa 100644 --- a/gemato/openpgp.py +++ b/gemato/openpgp.py @@ -435,9 +435,6 @@ resolver-timeout {gpg_timeout} connect-timeout {gpg_timeout} """) - with open(os.path.join(self._home, 'dirmngr.conf'), 'r') as f: - print(f.read()) - with open(os.path.join(self._home, 'gpg.conf'), 'w') as f: f.write('''# autogenerated by gemato diff --git a/tests/test_openpgp.py b/tests/test_openpgp.py index 0c43fc6..51b6445 100644 --- a/tests/test_openpgp.py +++ b/tests/test_openpgp.py @@ -510,7 +510,7 @@ def test_verify_manifest(openpgp_env, manifest_var, key_var, expected): with io.BytesIO(globals()[key_var]) as kf: openpgp_env.import_key(kf) - print(openpgp_env.verify_file(f)) + openpgp_env.verify_file(f) except OpenPGPNoImplementation as e: pytest.skip(str(e)) -- cgit v1.2.3