de524573c1ce917d6a8acdb6a98c6f86f43b2127,PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GObject.py,,pre_safe_import_module,#Any#,13

Before Change


def pre_safe_import_module(api):
    // PyGObject modules loaded through the gi repository are marked as MissingModules by modulegraph
    // so we convert them to RuntimeModules so their hooks are loaded and run.
    api.module_graph.add_module(RuntimeModule("gi.repository.GObject"))

After Change


    // PyGObject modules loaded through the gi repository are marked as
    // MissingModules by modulegraph so we convert them to
    // RuntimeModules so their hooks are loaded and run.
    api.add_runtime_module(api.module_name)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 5

Instances


Project Name: pyinstaller/pyinstaller
Commit Name: de524573c1ce917d6a8acdb6a98c6f86f43b2127
Time: 2015-10-17
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GObject.py
Class Name:
Method Name: pre_safe_import_module


Project Name: pyinstaller/pyinstaller
Commit Name: de524573c1ce917d6a8acdb6a98c6f86f43b2127
Time: 2015-10-17
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GLib.py
Class Name:
Method Name: pre_safe_import_module


Project Name: pyinstaller/pyinstaller
Commit Name: de524573c1ce917d6a8acdb6a98c6f86f43b2127
Time: 2015-10-17
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GModule.py
Class Name:
Method Name: pre_safe_import_module


Project Name: pyinstaller/pyinstaller
Commit Name: de524573c1ce917d6a8acdb6a98c6f86f43b2127
Time: 2015-10-17
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gio.py
Class Name:
Method Name: pre_safe_import_module


Project Name: pyinstaller/pyinstaller
Commit Name: de524573c1ce917d6a8acdb6a98c6f86f43b2127
Time: 2015-10-17
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.Gst.py
Class Name:
Method Name: pre_safe_import_module


Project Name: pyinstaller/pyinstaller
Commit Name: de524573c1ce917d6a8acdb6a98c6f86f43b2127
Time: 2015-10-17
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py
Class Name:
Method Name: pre_safe_import_module