7d69e3d57c0fdc4d79f1ca1cf47162797baee955,deployment/pypi/setup.py,,,#,4

Before Change

import setuptools
from os import walk, path

data_files = [("bin", ["node-linux-x64/bin/node"])]
for (dirpath, dirnames, filenames) in walk("./nni"):
    files = [path.normpath(path.join(dirpath, filename)) for filename in filenames]
    data_files.append((path.normpath(dirpath), files))

After Change


else:
    raise NotImplementedError("current platform {} not supported".format(os_type))

data_files = [("bin", ["node-{}-x64/bin/node".format(os_type.lower())])]
for (dirpath, dirnames, filenames) in walk("./nni"):
    files = [path.normpath(path.join(dirpath, filename)) for filename in filenames]
    data_files.append((path.normpath(dirpath), files))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: microsoft/nni
Commit Name: 7d69e3d57c0fdc4d79f1ca1cf47162797baee955
Time: 2018-12-05
Author: yann@microsoft.com
File Name: deployment/pypi/setup.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: dc378a80b77685cc45c2b53e2f484ed9c6d8c44c
Time: 2020-08-26
Author: ian.rodney@gmail.com
File Name: python/ray/autoscaler/command_runner.py
Class Name: DockerCommandRunner
Method Name: _check_container_status


Project Name: keras-team/keras
Commit Name: 3a5a090b231a67b6531cc2da3c40ee4dc34801c2
Time: 2018-02-02
Author: cclauss@bluewin.ch
File Name: keras/utils/io_utils.py
Class Name:
Method Name: ask_to_proceed_with_overwrite


Project Name: minimaxir/textgenrnn
Commit Name: ea2b8969e20223b33a9bad6df9d5ee8065998855
Time: 2018-08-05
Author: max@minimaxir.com
File Name: textgenrnn/utils.py
Class Name:
Method Name: textgenrnn_generate