e7e01290997f66471c08848ee0a968e2526b4b9b,loudml/loudml/_version.py,,,#,5

Before Change


                if fdv.readline().strip()[:8] != extra[:8]:
                    __version__ += "-" + extra
        except Exception as e:
            if "No such file" not in str(e):
                raise

After Change




// auto -extra based on commit hash (if not tagged as release)
try:
    scriptdir = os.path.dirname(__file__)
except NameError:  // We are in setup.py script, not a module
    import sys
    scriptdir = os.path.dirname(os.path.abspath(sys.argv[0]))

gitdir = os.path.abspath(os.path.join(scriptdir, "..", ".git"))
if os.path.isdir(gitdir):  // pragma: nocover
    extra = None
    // Open config file to check if we are in loudml project
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: regel/loudml
Commit Name: e7e01290997f66471c08848ee0a968e2526b4b9b
Time: 2019-09-29
Author: sebastien.regel@gmail.com
File Name: loudml/loudml/_version.py
Class Name:
Method Name:


Project Name: mindsdb/mindsdb
Commit Name: 34eabb02f5882fba7db0cff82c302164c9f7e795
Time: 2021-02-09
Author: george@cerebralab.com
File Name: mindsdb/utilities/log.py
Class Name: DbHandler
Method Name: emit


Project Name: DistrictDataLabs/yellowbrick
Commit Name: c6ee8ee45b7b854fa2731b6f238e223ec24e1cab
Time: 2019-07-27
Author: 43993586+naresh-bachwani@users.noreply.github.com
File Name: yellowbrick/features/manifold.py
Class Name: Manifold
Method Name: transform