2bff58313dbd12e5ebc00db492496e864f8eb4db,bears/general/CPDBear.py,CPDBear,run,#CPDBear#,50

Before Change


            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))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: coala/coala-bears
Commit Name: 2bff58313dbd12e5ebc00db492496e864f8eb4db
Time: 2017-08-28
Author: adhika.setyap@gmail.com
File Name: bears/general/CPDBear.py
Class Name: CPDBear
Method Name: run


Project Name: developmentseed/label-maker
Commit Name: 6533f4a2123077c55d3a0c8bc04bb5e71c8b36de
Time: 2018-05-08
Author: jreiberkyle@users.noreply.github.com
File Name: label_maker/utils.py
Class Name:
Method Name: is_tif


Project Name: lingpy/lingpy
Commit Name: 4560e7769fc21e04c5f673f0549de6601d43de45
Time: 2013-09-09
Author: mattis.list@posteo.de
File Name: setup.py
Class Name:
Method Name: