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,21 +18,21 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from .base import IBaseCap, CapBaseObject, Field, DecimalField, \
|
||||
from .base import IBaseCap, BaseObject, Field, DecimalField, \
|
||||
StringField, DateField
|
||||
|
||||
|
||||
__all__ = ['Shop', 'Price', 'Product', 'ICapPriceComparison']
|
||||
|
||||
|
||||
class Product(CapBaseObject):
|
||||
class Product(BaseObject):
|
||||
"""
|
||||
A product.
|
||||
"""
|
||||
name = StringField('Name of product')
|
||||
|
||||
|
||||
class Shop(CapBaseObject):
|
||||
class Shop(BaseObject):
|
||||
"""
|
||||
A shop where the price is.
|
||||
"""
|
||||
|
|
@ -41,7 +41,7 @@ class Shop(CapBaseObject):
|
|||
info = StringField('Information about the shop')
|
||||
|
||||
|
||||
class Price(CapBaseObject):
|
||||
class Price(BaseObject):
|
||||
"""
|
||||
Price.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue