From 5e4736e23392079c20bb283a5ceb2c8e8d6bacf4 Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Tue, 17 Mar 2020 09:19:57 +0000 Subject: [PATCH] Remove unnecessary print-statements --- moto/s3/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/moto/s3/utils.py b/moto/s3/utils.py index 50ff1cf34..e22b6b860 100644 --- a/moto/s3/utils.py +++ b/moto/s3/utils.py @@ -104,9 +104,7 @@ class _VersionedKeyStore(dict): def get(self, key, default=None): try: return self[key] - except (KeyError, IndexError) as e: - print("Error retrieving " + str(key)) - print(e) + except (KeyError, IndexError): pass return default