Skip to content

Commit

Permalink
disabled print, changed log message
Browse files Browse the repository at this point in the history
  • Loading branch information
huberrob committed Nov 10, 2023
1 parent 4435410 commit 670e25e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fuji_server/harvester/data_harvester.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def retrieve_all_data(self, scan_content=True):
timeout = 10
if len(ft) > self.max_number_per_mime:
self.logger.warning(
f"FsF-F3-01M : Found more than -: {str(self.max_number_per_mime)} data links ({str(len(ft))}) of type {fmime} will only take {str(self.max_number_per_mime)}"
f"FsF-F3-01M : Found more than -: {str(self.max_number_per_mime)} data links (out of {str(len(ft))}) of type {fmime} will only take {str(self.max_number_per_mime)}"
)
files_to_check = ft[: self.max_number_per_mime]
# add the fifth one for compatibility reasons < f-uji 3.0.1, when we took the last of list of length FILES_LIMIT
Expand Down Expand Up @@ -154,7 +154,7 @@ def get_url_data_and_info(self, urldict, timeout):
if url:
if not idutils.is_url(url):
url = self.expand_url(url)
print("Downloading.. ", url)
# print("Downloading.. ", url)
response = None
try:
request = urllib.request.Request(url, headers=header)
Expand Down

0 comments on commit 670e25e

Please sign in to comment.