Skip to content
Snippets Groups Projects
Commit c60a72d5 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

metadata_dictionary/base: Compare metadata filenames in lowercase

SingleFileIntrinsicMapping.detect_metadata_files was comparing lowercase
versions of filenames with SingleFileIntrinsicMapping.filename variable
value to detect metadata files.

But as SingleFileIntrinsicMapping.filename holds the canonical name of a
metadata file it can contain uppercase characters.

So ensure to compare lowercase versions of both filenames to avoid metadata
files being undetected.

This fixes indexing of Python intrinsic metadata.
parent 461b71a4
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
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