6343c36a52b8c4b789590bd0211fb13a5eedb0c3,plasma/conf.py,,,#,4

Before Change

from plasma.conf_parser import parameters
import os

conf = parameters(os.path.join(os.path.abspath(os.path.dirname(__file__)), "conf.yaml"))

After Change


import os
import errno

try:
    conf = parameters("./conf.yaml")
except: 
    raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), "conf.yaml")

//conf = parameters(os.path.join(os.path.abspath(os.path.dirname(__file__)), "conf.yaml"))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: PPPLDeepLearning/plasma-python
Commit Name: 6343c36a52b8c4b789590bd0211fb13a5eedb0c3
Time: 2017-01-11
Author: asvyatkovskiy@gmail.com
File Name: plasma/conf.py
Class Name:
Method Name:


Project Name: pyinstaller/pyinstaller
Commit Name: 6dea845223c329834e49b4b350534c5f058eeda7
Time: 2013-03-06
Author: mzibr.public@gmail.com
File Name: PyInstaller/__init__.py
Class Name:
Method Name:


Project Name: PPPLDeepLearning/plasma-python
Commit Name: 6343c36a52b8c4b789590bd0211fb13a5eedb0c3
Time: 2017-01-11
Author: asvyatkovskiy@gmail.com
File Name: plasma/conf.py
Class Name:
Method Name:


Project Name: pantsbuild/pants
Commit Name: c83f6f17866a3d114c174ba282e4dff2fd9996f7
Time: 2018-11-18
Author: wisechengyi@gmail.com
File Name: src/python/pants/cache/artifact.py
Class Name: TarballArtifact
Method Name: extract