web/webconfig.py
branchtls-sprint
changeset 893 1f9308b253ce
parent 890 3530baff9120
child 1132 96752791c2b6
equal deleted inserted replaced
892:1558772340a7 893:1f9308b253ce
   201 
   201 
   202     def fckeditor_installed(self):
   202     def fckeditor_installed(self):
   203         return exists(self.ext_resources['FCKEDITOR_PATH'])
   203         return exists(self.ext_resources['FCKEDITOR_PATH'])
   204     
   204     
   205     def eproperty_definitions(self):
   205     def eproperty_definitions(self):
   206         for key, pdef in super(WebConfiguration, self).eproperty_definitions(self):
   206         for key, pdef in super(WebConfiguration, self).eproperty_definitions():
   207             if key == 'ui.fckeditor' and not self.fckeditor_installed():
   207             if key == 'ui.fckeditor' and not self.fckeditor_installed():
   208                 continue
   208                 continue
   209             yield key, pdef
   209             yield key, pdef
   210                 
   210                 
   211     # method used to connect to the repository: 'inmemory' / 'pyro'
   211     # method used to connect to the repository: 'inmemory' / 'pyro'