[web config] set default uiprops on web config class to avoid error on commands such as i18n instance
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 06 May 2010 11:30:46 +0200
changeset 5489 50e2d8e10638
parent 5486 5790462343cb
child 5492 da983679fab5
[web config] set default uiprops on web config class to avoid error on commands such as i18n instance
devtools/devctl.py
web/webconfig.py
--- a/devtools/devctl.py	Wed May 05 18:55:19 2010 +0200
+++ b/devtools/devctl.py	Thu May 06 11:30:46 2010 +0200
@@ -60,7 +60,6 @@
                 self.expand_cubes(cubes, with_recommends=True))
         else:
             self._cubes = ()
-        self.uiprops = {'FCKEDITOR_PATH': ''}
 
     @property
     def apphome(self):
--- a/web/webconfig.py	Wed May 05 18:55:19 2010 +0200
+++ b/web/webconfig.py	Thu May 06 11:30:46 2010 +0200
@@ -79,6 +79,7 @@
     """
     cubicweb_appobject_path = CubicWebConfiguration.cubicweb_appobject_path | set(['web/views'])
     cube_appobject_path = CubicWebConfiguration.cube_appobject_path | set(['views'])
+    uiprops = {'FCKEDITOR_PATH': ''}
 
     options = merge_options(CubicWebConfiguration.options + (
         ('anonymous-user',