Commit 42547c6a authored by Samuel GAIST's avatar Samuel GAIST

[data] Update logger.warn to use warning

parent 1cdad443
......@@ -415,7 +415,7 @@ class CachedDataSource(DataSource):
) = getAllFilenames(filename, start_index, end_index)
if len(self.filenames) == 0:
logger.warn("No files found for %s" % filename)
logger.warning("No files found for %s" % filename)
return False
check_consistency(self.filenames, data_checksum_filenames)
......@@ -429,7 +429,7 @@ class CachedDataSource(DataSource):
try:
f = open(current_filename, "rb")
except Exception as e:
logger.warn("Could not setup `%s': %s" % (filename, e))
logger.warning("Could not setup `%s': %s" % (filename, e))
return False
# Reads the header of the current file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment