From 55e7da0c1d9c752e907eb427e33e1dcbad65f0bb Mon Sep 17 00:00:00 2001 From: Laura King Date: Thu, 31 Aug 2023 16:47:57 -0700 Subject: [PATCH] MNT: remove unneeded imports and print --- happi/backends/json_db.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/happi/backends/json_db.py b/happi/backends/json_db.py index ce161628..8493d1a0 100644 --- a/happi/backends/json_db.py +++ b/happi/backends/json_db.py @@ -2,14 +2,12 @@ Backend implemenation using the ``simplejson`` package. """ import contextlib -import getpass import logging import math import os import os.path import re import shutil -import time import uuid from typing import Any, Callable, Optional, Union @@ -151,7 +149,6 @@ def store(self, db: dict[str, ItemMeta]) -> None: logger.debug('JSON db move failed: %s', ex, exc_info=ex) # remove temporary file if os.path.exists(temp_path): - print(f"we are removing {temp_path}") os.remove(temp_path) def _temp_path(self) -> str: