Skip to content
Snippets Groups Projects
Commit cb518d6e authored by BRONES Romain's avatar BRONES Romain
Browse files

Minor fixes

* Uncapitalize attribute
* Log the extraction as an info
parent 4cf2eb49
No related branches found
No related tags found
No related merge requests found
......@@ -177,6 +177,9 @@ class ArchiveExtractor:
if type(dateStop) is str:
dateStop = self.dateparse(dateStop)
# Uncapitalize attribute
attribute = attribute.lower()
# Check that the attribute is in the database
self.logger.debug("Check that %s is archived."%attribute)
if not self.extractor.IsArchived(attribute):
......@@ -212,7 +215,7 @@ class ArchiveExtractor:
# 2 retries on DevFailed
for i in range(3):
# Make retrieval request
self.logger.debug("Perform ExtractBetweenDates (%s, %s, %s)"%(
self.logger.info("Perform ExtractBetweenDates (%s, %s, %s)"%(
attribute,
cdates[i_d].strftime(DBDFMT),
cdates[i_d+1].strftime(DBDFMT))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment