rename CapBaseObject to BaseObject (refs #1424)
This commit is contained in:
parent
4529735935
commit
51958135cb
44 changed files with 183 additions and 183 deletions
|
|
@ -18,7 +18,7 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from .base import IBaseCap, CapBaseObject, StringField, IntField, UserError
|
||||
from .base import IBaseCap, BaseObject, StringField, IntField, UserError
|
||||
|
||||
|
||||
__all__ = ['Subtitle', 'ICapSubtitle']
|
||||
|
|
@ -33,7 +33,7 @@ class LanguageNotSupported(UserError):
|
|||
UserError.__init__(self, msg)
|
||||
|
||||
|
||||
class Subtitle(CapBaseObject):
|
||||
class Subtitle(BaseObject):
|
||||
"""
|
||||
Subtitle object.
|
||||
"""
|
||||
|
|
@ -45,7 +45,7 @@ class Subtitle(CapBaseObject):
|
|||
description=StringField('Description of corresponding video')
|
||||
|
||||
def __init__(self, id, name):
|
||||
CapBaseObject.__init__(self, id)
|
||||
BaseObject.__init__(self, id)
|
||||
self.name = name
|
||||
|
||||
class ICapSubtitle(IBaseCap):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue