rename ICap to Cap (closes #1424)

This commit is contained in:
Romain Bignon 2014-07-05 17:33:44 +02:00
commit e025fb0b20
244 changed files with 679 additions and 679 deletions

View file

@ -19,10 +19,10 @@
from .base import BaseObject, StringField, DateField, DecimalField, UserError
from .collection import ICapCollection
from .collection import CapCollection
__all__ = ['SubscriptionNotFound', 'BillNotFound', 'Detail', 'Bill', 'Subscription', 'ICapBill']
__all__ = ['SubscriptionNotFound', 'BillNotFound', 'Detail', 'Bill', 'Subscription', 'CapBill']
class SubscriptionNotFound(UserError):
@ -86,7 +86,7 @@ class Subscription(BaseObject):
renewdate = DateField('Reset date of consumption')
class ICapBill(ICapCollection):
class CapBill(CapCollection):
def iter_resources(self, objs, split_path):
"""
Iter resources. Will return :func:`iter_subscriptions`.