# HG changeset patch # User Pierre-Yves David # Date 1365430383 -7200 # Node ID 12f29b0ed0bba02f697f5c979687d7559e050785 # Parent 64f24ecad1777df46ae8c52b25f95592575cc536 [webconfig] explicit some webconfig attribute Explicit declaration of attribute are much clearer. Just do it. diff -r 64f24ecad177 -r 12f29b0ed0bb web/webconfig.py --- a/web/webconfig.py Mon Apr 08 14:18:32 2013 +0200 +++ b/web/webconfig.py Mon Apr 08 16:13:03 2013 +0200 @@ -236,6 +236,13 @@ }), )) + def __init__(self, *args, **kwargs): + super(WebConfiguration, self).__init__(*args, **kwargs) + self.uiprops = None + self.https_uiprops = None + self.datadir_url = None + self.https_datadir_url = None + def fckeditor_installed(self): return exists(self.uiprops['FCKEDITOR_PATH'])