File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -493,15 +493,15 @@ def get_analysis_date_from_headers(headertexts):
493493 possible_dates = []
494494 for headertext in headertexts :
495495 # look for datelike things
496- date_parse = re .match (r"(.+[Dd]ate)=(.+)\s " , headertext )
496+ date_parse = re .match (r"(.+[Dd]ate)=(.+)" , headertext )
497497 if date_parse is not None :
498498 if date_parse .group (1 ) == "##fileDate" :
499499 possible_dates .insert (0 , date_parse .group (2 ))
500500 else :
501501 possible_dates .append (date_parse .group (2 ))
502502
503503 # process datelike things
504- logger .info (possible_dates )
504+ logger .debug (possible_dates )
505505 analysis_date = None
506506 while len (possible_dates ) > 0 :
507507 possible_date = possible_dates .pop (0 )
@@ -511,7 +511,7 @@ def get_analysis_date_from_headers(headertexts):
511511 if analysis_date is not None :
512512 analysis_date = analysis_date [0 ][1 ]
513513 if analysis_date is not None :
514- logger .info (analysis_date )
514+ logger .debug (analysis_date )
515515 return analysis_date
516516 return None
517517
You can’t perform that action at this time.
0 commit comments