Changeset 8606 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 2 Jun 2012, 17:52:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/university/vocabularies.py
r8471 r8606 19 19 """ 20 20 from zc.sourcefactory.basic import BasicSourceFactory 21 from zc.sourcefactory.contextual import BasicContextualSourceFactory22 21 from zope.catalog.interfaces import ICatalog 23 22 from zope.component import getUtility, queryUtility 24 23 from waeup.kofa.interfaces import SimpleKofaVocabulary, IKofaUtils 25 24 from waeup.kofa.interfaces import MessageFactory as _ 25 from waeup.kofa.sourcefactory import SmartBasicContextualSourceFactory 26 26 from waeup.kofa.utils.utils import KofaUtils 27 27 … … 43 43 KOFA_UTILS = KofaUtils() 44 44 45 class ContextualDictSourceFactoryBase( BasicContextualSourceFactory):45 class ContextualDictSourceFactoryBase(SmartBasicContextualSourceFactory): 46 46 """A base for contextual sources based on KofaUtils dicts. 47 47 … … 103 103 return "%s - %s" % (value.code, value.title[:64]) 104 104 105 class CertificateSource(BasicContextualSourceFactory): 105 106 107 class CertificateSource(SmartBasicContextualSourceFactory): 106 108 """A certificate source delivers all certificates provided 107 109 in the portal.
Note: See TracChangeset for help on using the changeset viewer.