6e2d807a8f676a3a0eac27343dd31c4e7d9bed8d,src/python/pants/engine/exp/scheduler.py,ConflictingProducersError,__init__,#ConflictingProducersError#Any#Any#Any#,127

Before Change


  

  def __init__(self, product_type, subject, plans):
    msg = ("Collected the following plans for generating {!r} from {!r}:\n\t{}"
            .format(product_type.__name__,
                    subject,
                    "\n\t".join(str(p.func_or_task_type.value) for p in plans)))
    super(ConflictingProducersError, self).__init__(msg)


class State(object):

After Change


  

  def __init__(self, subject, product, matches):
    msgs = "\n  ".join("{}: {}".format(k, v) for k, v in matches.items())
    msg = "More than one source of {} for {}:\n  {}".format(product.__name__, subject, msgs)
    super(ConflictingProducersError, self).__init__(msg)


class State(object):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: pantsbuild/pants
Commit Name: 6e2d807a8f676a3a0eac27343dd31c4e7d9bed8d
Time: 2016-02-17
Author: stuhood@gmail.com
File Name: src/python/pants/engine/exp/scheduler.py
Class Name: ConflictingProducersError
Method Name: __init__


Project Name: home-assistant/home-assistant
Commit Name: dc5f0ef314b049551215d5463bec6756c26dcfa5
Time: 2015-10-08
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/device_tracker/nmap_tracker.py
Class Name: NmapDeviceScanner
Method Name: _update_info


Project Name: biolab/orange3
Commit Name: 7c363a3622d351791b852df4905807a6f9f60395
Time: 2015-03-30
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owfile.py
Class Name: OWFile
Method Name: OWFile_1