932ece8c30fce777168815eaf6d36d9c61cfc662,Orange/canvas/config.py,,init,#,29

Before Change


    QSettings.setDefaultFormat(QSettings.IniFormat)

    // Hack to make sure the correct plugin search path is added. (Github issue /񳁧)
    for path in site.getsitepackages():
        if path.endswith("site-packages"):
            QCoreApplication.setLibraryPaths(
                QCoreApplication.libraryPaths() + [os.path.join(path, "PyQt4", "plugins")])

    // Make it a null op.
    global init
    init = lambda: None

rc = {}

After Change


    // Hack to make sure the correct plugin search path is added. (Github issue /񳁧)
    QCoreApplication.setLibraryPaths(QCoreApplication.libraryPaths() +
                                     [os.path.join(path, "PyQt4", "plugins")
                                      for path in sys.path
                                      if path.endswith("site-packages")])

    // Make it a null op.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: biolab/orange3
Commit Name: 932ece8c30fce777168815eaf6d36d9c61cfc662
Time: 2016-05-27
Author: kerncece@gmail.com
File Name: Orange/canvas/config.py
Class Name:
Method Name: init


Project Name: ray-project/ray
Commit Name: 195f8182247ea2c1aef6b1bcf74aff9bcc3f466f
Time: 2021-04-07
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/http_proxy.py
Class Name: HTTPProxy
Method Name: _display_route_table


Project Name: pantsbuild/pants
Commit Name: 2d515b55b25a62b1f5961955e977e2fce4ae511e
Time: 2015-10-06
Author: stuhood@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_dependency_analyzer.py
Class Name: JvmDependencyAnalyzer
Method Name: targets_by_file