ddfac3e42d2ae2e09751de6638d813c76e30ff94,tools/check_sdist.py,,,#,8

Before Change


                     stdout=subprocess.PIPE)
out, err = p.communicate()

data = out.decode("utf-8").split("\n")
data = [l for l in data if l.startswith("hard linking")]
data = [l.replace("hard linking ", "") for l in data]
data = ["./" + l.split(" ->")[0] for l in data]

After Change


parser = ArgumentParser(description="Check a created sdist")
parser.add_argument("sdist_name", type=str, nargs=1,
                    help="The name of the sdist file to check")
args = parser.parse_args()
sdist_name = args.sdist_name[0]

with tarfile.open(sdist_name) as tar:
    members = tar.getmembers()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scikit-image/scikit-image
Commit Name: ddfac3e42d2ae2e09751de6638d813c76e30ff94
Time: 2018-12-04
Author: mark.harfouche@gmail.com
File Name: tools/check_sdist.py
Class Name:
Method Name:


Project Name: ufal/npfl114
Commit Name: c343409098b4f4b8396119d9f26e040e479a0e2b
Time: 2020-04-20
Author: milan@strakovi.com
File Name: labs/08/speech_recognition_eval.py
Class Name:
Method Name:


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 43b4396dbbd933a0555011dd6d570c23d219e0df
Time: 2020-07-17
Author: pclay@google.com
File Name: perfkitbenchmarker/scripts/spark_table.py
Class Name:
Method Name: main