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, Field, empty
|
||||
from .base import IBaseCap, BaseObject, StringField, IntField, Field, empty
|
||||
|
||||
import lxml.etree as ET
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ class Comment():
|
|||
return result
|
||||
|
||||
|
||||
class Recipe(CapBaseObject):
|
||||
class Recipe(BaseObject):
|
||||
"""
|
||||
Recipe object.
|
||||
"""
|
||||
|
|
@ -64,7 +64,7 @@ class Recipe(CapBaseObject):
|
|||
comments = Field('User comments about the recipe', list)
|
||||
|
||||
def __init__(self, id, title):
|
||||
CapBaseObject.__init__(self, id)
|
||||
BaseObject.__init__(self, id)
|
||||
self.title = title
|
||||
|
||||
def toKrecipesXml(self, author=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue