ef3f8d221a5afefb01d655448ce7e3f537399810,src/python/pants/engine/exp/examples/planners.py,,write_name_file,#Any#,284

Before Change



def write_name_file(name):
  // Write a file containing the name in CWD
  with safe_open("build.properties") as f:
    f.write("name={}\n".format(name))


class ScroogeConfiguration(ThriftConfiguration):
  def __init__(self, rev=None, strict=True, **kwargs):
    
    :param string rev: The version of the scrooge compiler to use.

After Change


@printing_func
def write_name_file(name):
  Write a file containing the name of this target in the CWD.
  return Classpath(creator="write_name_file")


class ScroogeConfiguration(ThriftConfiguration):
  def __init__(self, rev=None, strict=True, **kwargs):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: ef3f8d221a5afefb01d655448ce7e3f537399810
Time: 2016-01-26
Author: stuhood@gmail.com
File Name: src/python/pants/engine/exp/examples/planners.py
Class Name:
Method Name: write_name_file


Project Name: pantsbuild/pants
Commit Name: 55290e2b5b7b4ed3e678282a49a11da6f3b2de78
Time: 2015-10-21
Author: benjyw@gmail.com
File Name: src/python/pants/binaries/binary_util.py
Class Name: BinaryUtil
Method Name: select_binary


Project Name: pantsbuild/pants
Commit Name: fd1456ac36e0a1ebfb800c9593f1540858ca7bea
Time: 2015-07-17
Author: kwilson@twopensource.com
File Name: src/python/pants/java/nailgun_executor.py
Class Name: NailgunExecutor
Method Name: _spawn_nailgun_server