240b67e9809c48fd693e63e4e5122345faa67eec,src/python/pants/backend/python/code_generator.py,CodeGenerator,__init__,#CodeGenerator#Any#Any#Any#Any#,22
Before Change
self.config = config
self.suffix = target_suffix or ""
self.root = root_dir
distdir = self.config.getdefault("pants_distdir")
self.chroot = RelativeChroot(root_dir, distdir, target.name)
codegen_root = tempfile.mkdtemp(dir=self.chroot.path(), prefix="codegen.")
self.codegen_root = os.path.relpath(codegen_root, self.chroot.path())
self.created_packages = set()
self.created_namespace_packages = set()
After Change
self.options = options
self.suffix = target_suffix or ""
self.root = root_dir
self.chroot = RelativeChroot(root_dir, options.for_global_scope().pants_distdir, target.name)
codegen_root = tempfile.mkdtemp(dir=self.chroot.path(), prefix="codegen.")
self.codegen_root = os.path.relpath(codegen_root, self.chroot.path())
self.created_packages = set()
self.created_namespace_packages = set()
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 5
Instances
Project Name: pantsbuild/pants
Commit Name: 240b67e9809c48fd693e63e4e5122345faa67eec
Time: 2015-02-27
Author: benjyw@gmail.com
File Name: src/python/pants/backend/python/code_generator.py
Class Name: CodeGenerator
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: 82b8aff167e3528fc2a559e81aeb8863328162fb
Time: 2014-11-23
Author: benjyw@gmail.com
File Name: src/python/pants/backend/core/tasks/task.py
Class Name: TaskBase
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: 82b8aff167e3528fc2a559e81aeb8863328162fb
Time: 2014-11-23
Author: benjyw@gmail.com
File Name: src/python/pants/backend/jvm/tasks/nailgun_task.py
Class Name: NailgunTaskBase
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: 240b67e9809c48fd693e63e4e5122345faa67eec
Time: 2015-02-27
Author: benjyw@gmail.com
File Name: src/python/pants/backend/python/thrift_builder.py
Class Name: PythonThriftBuilder
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: 1da125c90f165228928a7ce0127ee78df8e1c1e1
Time: 2015-02-25
Author: benjyw@gmail.com
File Name: src/python/pants/backend/core/tasks/task.py
Class Name: TaskBase
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: 9b87f52dd37f88e6bc803bba334efcdb79370bc6
Time: 2015-02-27
Author: benjyw@gmail.com
File Name: src/python/pants/backend/python/binary_builder.py
Class Name: PythonBinaryBuilder
Method Name: __init__