Back to index

plone3  3.1.7
Classes | Functions
kss.core.pluginregistry.selector_type Namespace Reference

Classes

class  SelectorType

Functions

def checkRegisteredSelector

Function Documentation

Definition at line 24 of file selector_type.py.

00024 
00025 def checkRegisteredSelector(name):
00026     'Check if it is a registered selector.'
00027     try:
00028         command = capi.getUtility(ISelectorType, name)
00029     except capi.ComponentLookupError:
00030         raise KSSPluginError, '"%s" is not a registered kss selector' % (name, )