443ad869cbd8c174ee75833eae0c0b1c12b1f602,nussl/__init__.py,ImportErrorClass,__init__,#ImportErrorClass#Any#,20
Before Change
class ImportErrorClass(object):
def __init__(self, lib):
raise ImportError("Cannot import {} because {} is not installed".format(self.__name__, lib))
from .core.constants import *
from .core.audio_signal import AudioSignal
from .core import utils, stft_utils, datasets
After Change
class ImportErrorClass(object):
def __init__(self, lib):
msg = "Cannot import {} because {} is not installed".format(type(self).__name__, lib)
raise ImportError(msg)
from .core.constants import *
from .core.audio_signal import AudioSignal
from .core import utils, stft_utils, datasets
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: interactiveaudiolab/nussl
Commit Name: 443ad869cbd8c174ee75833eae0c0b1c12b1f602
Time: 2018-04-01
Author: ethanmanilow@gmail.com
File Name: nussl/__init__.py
Class Name: ImportErrorClass
Method Name: __init__
Project Name: deepmind/dm_control
Commit Name: 7c1f107026a4b12cb687a1c4623148c4bdbf6e39
Time: 2018-11-30
Author: stunya@google.com
File Name: dm_control/render/pyopengl/osmesa_renderer.py
Class Name:
Method Name:
Project Name: tensorlayer/tensorlayer
Commit Name: e821d856697ca29141b94a8feaa6435cae2e02e1
Time: 2018-05-06
Author: github-bot@pyup.io
File Name: tensorlayer/__init__.py
Class Name:
Method Name: