Skip to content

Commit

Permalink
misc: use tuple instead of array for verbose keywords
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 24, 2025
1 parent ac72e87 commit 69f9239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbd_http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,10 @@ def clean_paths():

# Continue to log server messages in stdout.
def log_server_messages():
verbose_keywords = [
verbose_keywords = (
'pread',
'pwrite'
]
)
while server.poll() is None:
line = server.stdout.readline().rstrip('\n')
if line:
Expand Down

0 comments on commit 69f9239

Please sign in to comment.