Skip to content

Commit

Permalink
MNT: remove unneeded imports and print
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-king committed Aug 31, 2023
1 parent d34af33 commit 55e7da0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions happi/backends/json_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 55e7da0

Please sign in to comment.