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)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 14

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: biolab/orange3
Commit Name: d050c00e6b9bd39b650e2f42108dce65821c4319
Time: 2015-03-27
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owfile.py
Class Name: OWFile
Method Name: OWFile_1


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