Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
minhkhul committed Sep 10, 2024
1 parent 9cec6ff commit 5450d8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nssp/delphi_nssp/pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

from .constants import NEWLINE, SIGNALS, SIGNALS_MAP, TYPE_DICT


def print_callback(remote_file_name, logger, bytes_so_far, bytes_total, progress_chunks):
"""Print the callback information."""
rough_percent_transferred = int(100 * (bytes_so_far / bytes_total))
Expand All @@ -20,6 +21,7 @@ def print_callback(remote_file_name, logger, bytes_so_far, bytes_total, progress
# Remove progress chunk, so it is not logged again
progress_chunks.remove(rough_percent_transferred)


def get_source_data(params, logger):
"""
Download historical source data from a backup server.
Expand Down

0 comments on commit 5450d8b

Please sign in to comment.