Format based on updated Black

This commit is contained in:
2023-09-12 16:41:02 -04:00
parent dfcfe4df4a
commit 311bb69785
6 changed files with 13 additions and 1 deletions

View File

@ -35,6 +35,7 @@ import daemon_lib.common as common
# Supplemental functions
#
# Verify OSD is valid in cluster
def verifyOSD(zkhandler, osd_id):
return zkhandler.exists(("osd", osd_id))

View File

@ -37,6 +37,7 @@ from functools import wraps
# Performance Profiler decorator
###############################################################################
# Get performance statistics on a function or class
class Profiler(object):
def __init__(self, config):
@ -104,6 +105,7 @@ class Profiler(object):
# Supplemental functions
###############################################################################
#
# Run a local OS daemon in the background
#

View File

@ -112,7 +112,6 @@ class Logger(object):
# Output function
def out(self, message, state=None, prefix=""):
# Get the date
if self.config["log_dates"]:
date = "{} ".format(datetime.now().strftime("%Y/%m/%d %H:%M:%S.%f"))