c2008cf2cc69513db82fd8539ed8f5d9f2d8f5b6,conf.py,,,#,22

Before Change


    version = str(p.stdout.readlines()[0][:-1])
    p = subprocess.Popen(["git", "--no-pager", "log", "-1", "--pretty=%ai"],
                         stdout=subprocess.PIPE)
    release = str(p.stdout.readlines()[0][:-1])
else:
    version = "Unknown"
    release = version

After Change


    version = subprocess.Popen(
        ["git", "--no-pager", "log", "-1", "--pretty=%H"],
        stdout=subprocess.PIPE).communicate()[0][:-1].decode("utf-8")
    release = subprocess.Popen(
        ["git", "--no-pager", "log", "-1", "--pretty=%ai"],
        stdout=subprocess.PIPE).communicate()[0][:-1].decode("utf-8")
else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tkamishima/mlmpy
Commit Name: c2008cf2cc69513db82fd8539ed8f5d9f2d8f5b6
Time: 2017-01-06
Author: mail@kamishima.net
File Name: conf.py
Class Name:
Method Name:


Project Name: NifTK/NiftyNet
Commit Name: 0a3c1aa4d67cb9c49f22a87bef180c07dfafec8a
Time: 2017-06-16
Author: wenqi.li@ucl.ac.uk
File Name: testing/get_gpu_index.py
Class Name:
Method Name:


Project Name: NifTK/NiftyNet
Commit Name: aa495c2ace9444aa5028f699ae62dddef45ab7d9
Time: 2017-06-15
Author: wenqi.li@ucl.ac.uk
File Name: testing/get_gpu_index.py
Class Name:
Method Name: