7b4edb7daa687534aa9a35eac467fe2933dbc364,PyInstaller/hooks/hook-usb.py,,,#,21

Before Change


    binaries = []
    for usblib in [getattr(usb.backend, be)._lib for be in backends]:
        if usblib is not None:
            binaries = _resolveCtypesImports([os.path.basename(usblib._name)])
            assert len(binaries[0]) == 3
            binaries = [(binaries[0][1], "")]

except (ValueError, usb.core.USBError) as exc:
    logger.warning("%s", exc)

After Change


        binaries = []
        for usblib in [getattr(usb.backend, be)._lib for be in backends]:
            if usblib is not None:
                binaries = [(usblib._name, "")]

    except (ValueError, usb.core.USBError) as exc:
        logger.warning("%s", exc)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: pyinstaller/pyinstaller
Commit Name: 7b4edb7daa687534aa9a35eac467fe2933dbc364
Time: 2018-03-12
Author: nicholsonc@google.com
File Name: PyInstaller/hooks/hook-usb.py
Class Name:
Method Name:


Project Name: prody/ProDy
Commit Name: e08fb07459a3b9cde964e69fc9cd885d8b6c2b21
Time: 2013-05-14
Author: lordnapi@gmail.com
File Name: doc/reference/conf.py
Class Name:
Method Name:


Project Name: pyinstaller/pyinstaller
Commit Name: 031426099153bc9e92adca5bbadeb519ca365d29
Time: 2015-08-14
Author: mzibr.public@gmail.com
File Name: PyInstaller/hooks/hook-pythoncom.py
Class Name:
Method Name:


Project Name: pyinstaller/pyinstaller
Commit Name: 031426099153bc9e92adca5bbadeb519ca365d29
Time: 2015-08-14
Author: mzibr.public@gmail.com
File Name: PyInstaller/hooks/hook-pywintypes.py
Class Name:
Method Name: