edd039bf98702f3eb01a7cd4e25559247e686a72,src/python/pants/engine/legacy/graph.py,LegacyBuildGraph,_inject,#LegacyBuildGraph#Any#,241

Before Change


    if result.error:
      raise result.error
    // Update the base class indexes for this request.
    root_entries = result.root_products
    address_entries = {k: v for k, v in root_entries.items() if k[1].product is BuildFileAddresses}
    target_entries = {k: v for k, v in root_entries.items() if k[1].product is HydratedTargets}
    self._index(target_entries)

    yielded_addresses = set()
    for (subject, _), state in address_entries.items():

After Change


      raise AddressLookupError(str(e.exc))
    except Exception as e:
      raise AddressLookupError(
        "Build graph construction failed: {} {}".format(type(e).__name__, str(e))
      )

    // Update the base class indexes for this request.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: edd039bf98702f3eb01a7cd4e25559247e686a72
Time: 2017-06-16
Author: stuhood@twitter.com
File Name: src/python/pants/engine/legacy/graph.py
Class Name: LegacyBuildGraph
Method Name: _inject


Project Name: OpenMined/PySyft
Commit Name: 5efaf25f5499c7065f1c37bfd4288159714406d8
Time: 2020-08-12
Author: vova@promail.spb.ru
File Name: src/syft/lib/torch/uppercase_tensor.py
Class Name:
Method Name:


Project Name: SPFlow/SPFlow
Commit Name: 46c988491513e69dd6cfb595e575b6690fb8fef9
Time: 2018-09-13
Author: claas@voelcker.net
File Name: src/spn/structure/Base.py
Class Name:
Method Name: eval_spn_bottom_up