d1363466b6af9c4580a08fd6e1ca3682aaa97803,benchmarking/utils/build_program.py,,buildProgramPlatform,#Any#Any#Any#Any#Any#,17
Before Change
elif not os.path.isdir(dst_dir):
os.makedirs(dst_dir)
result = processRun(["sh", script, repo_dir, dst])
if result is not None:
os.chmod(dst, 0o777)
print(result)
After Change
elif not os.path.isdir(dst_dir):
os.makedirs(dst_dir)
result = processRun(["sh", script, repo_dir, dst])[0]
if result is not None:
os.chmod(dst, 0o777)
print(result)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: facebook/FAI-PEP
Commit Name: d1363466b6af9c4580a08fd6e1ca3682aaa97803
Time: 2018-05-23
Author: 34827865+llyfacebook@users.noreply.github.com
File Name: benchmarking/utils/build_program.py
Class Name:
Method Name: buildProgramPlatform
Project Name: facebook/FAI-PEP
Commit Name: d1363466b6af9c4580a08fd6e1ca3682aaa97803
Time: 2018-05-23
Author: 34827865+llyfacebook@users.noreply.github.com
File Name: benchmarking/repos/git.py
Class Name: GitRepo
Method Name: _run
Project Name: facebook/FAI-PEP
Commit Name: d1363466b6af9c4580a08fd6e1ca3682aaa97803
Time: 2018-05-23
Author: 34827865+llyfacebook@users.noreply.github.com
File Name: benchmarking/repos/hg.py
Class Name: HGRepo
Method Name: _run
Project Name: facebook/FAI-PEP
Commit Name: d1363466b6af9c4580a08fd6e1ca3682aaa97803
Time: 2018-05-23
Author: 34827865+llyfacebook@users.noreply.github.com
File Name: benchmarking/platforms/android/adb.py
Class Name: ADB
Method Name: run