Ignore multiple copies of files of the same name and length in
comparison.
language = language.lower()
if language not in self.lowered_lang_dict:
self.err("This bear does not support files with the extension "
""{}".".format(language))
After Change
for supported_lang in self.language_dict:
if supported_lang in language:
cpd_language = self.language_dict[supported_lang]
break
else:
self.err("This bear does not support files with the extension "
""{}".".format(language))