Skip to content

Commit

Permalink
fix: use eprint in dprint
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Labourier <mathieu.labourier@vates.tech>
  • Loading branch information
Millefeuille42 committed Feb 17, 2025
1 parent e4cb0e8 commit 966919e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion http_disk_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def eprint(str):

def dprint(str):
if VERBOSE:
print(OUTPUT_PREFIX + str, file=sys.stderr)
eprint(str)

def is_drbd_device(path):
try:
Expand Down
2 changes: 1 addition & 1 deletion nbd_http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def eprint(str):

def dprint(str):
if VERBOSE:
print(OUTPUT_PREFIX + str, file=sys.stderr)
eprint(str)

# -----------------------------------------------------------------------------

Expand Down

0 comments on commit 966919e

Please sign in to comment.