iro/offer/provider.py
branchdevel
changeset 254 de301b8c58d9
parent 253 e8d56537c9cc
child 269 0d134b173cb1
equal deleted inserted replaced
253:e8d56537c9cc 254:de301b8c58d9
    83         - invalid -- raises :class:`~iro.error.ValidateException`
    83         - invalid -- raises :class:`~iro.error.ValidateException`
    84 
    84 
    85     :raises: :exc:`~iro.error.ValidateException`
    85     :raises: :exc:`~iro.error.ValidateException`
    86     '''
    86     '''
    87     if typ not in providers.keys():
    87     if typ not in providers.keys():
    88         raise ValidateException()
    88         raise ValidateException(field=field)
    89     return typ
    89     return typ
    90 
    90 
    91 providers={}
    91 providers={}
    92 """Avalable Providers.
    92 """Avalable Providers.
    93     - **key** -- typ of provider (see configuration typ field).
    93     - **key** -- typ of provider (see configuration typ field).