53654feed9fe94de85ef97cc3685db10e32ba0d0,src/python/pants/backend/jvm/tasks/ivy_resolve.py,IvyResolve,_generate_ivy_report,#IvyResolve#Any#,131

Before Change


      args = ["-IN", xml, "-XSL", xsl, "-OUT", out]
      if 0 != self.runjava(classpath=tool_classpath, main="org.apache.xalan.xslt.Process",
                           args=args, workunit_name="report"):
        raise TaskError
      reports.append(out)

    css = os.path.join(self._outdir, "ivy-report.css")
    if os.path.exists(css):

After Change


      args = ["-IN", xml, "-XSL", xsl, "-OUT", out]
      if 0 != self.runjava(classpath=tool_classpath, main="org.apache.xalan.xslt.Process",
                           args=args, workunit_name="report"):
        raise IvyResolve.Error("Failed to create html report from xml ivy report.")
      reports.append(out)

    css = os.path.join(self._outdir, "ivy-report.css")
    if os.path.exists(css):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 53654feed9fe94de85ef97cc3685db10e32ba0d0
Time: 2015-01-20
Author: zundel@squareup.com
File Name: src/python/pants/backend/jvm/tasks/ivy_resolve.py
Class Name: IvyResolve
Method Name: _generate_ivy_report


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 3d95ae5cd11987e4c963baf4da374b1fa139b807
Time: 2016-06-29
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/providers/openstack/os_virtual_machine.py
Class Name: OpenStackVirtualMachine
Method Name: _CheckNetworks


Project Name: openai/gym
Commit Name: 842de12611df22bb6f62aff542b814f66204cc18
Time: 2017-03-05
Author: nottombrown@gmail.com
File Name: gym/core.py
Class Name: Env
Method Name: configure


Project Name: streamlit/streamlit
Commit Name: 8166563234323a086cd5045dee6eb88f05ce39bf
Time: 2019-11-18
Author: monchier@users.noreply.github.com
File Name: lib/streamlit/util.py
Class Name:
Method Name: open_browser