Skip to content

Commit

Permalink
Remove unused duplicate function
Browse files Browse the repository at this point in the history
There is a logreader function also in the utils module.
  • Loading branch information
Nina.Hakansson committed Apr 15, 2024
1 parent 13bb3d2 commit c977117
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions nwcsafpps_runner/prepare_nwp.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,6 @@ def prepare_config(config_file_name):
return cfg


def logreader(stream, log_func):
while True:
s = stream.readline()
if not s:
break
log_func(s.strip())
stream.close()


def remove_file(filename):
"""Remove a temporary file."""
if os.path.exists(filename):
Expand Down

0 comments on commit c977117

Please sign in to comment.