Browse Source

Changed broken conf in install/conf.d/datasources.ini + message enhancement for invalid configuration key

Yann Weber 8 years ago
parent
commit
7e58988307
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      install/conf.d/datasources.ini
  2. 1
    1
      lodel/settings/settings_loader.py

+ 1
- 1
install/conf.d/datasources.ini View File

@@ -1,5 +1,5 @@
1 1
 [lodel2.datasources.default]
2 2
 identifier = dummy.example
3 3
 
4
-[lodel2.datasource.dummy.example]
4
+[lodel2.datasource.dummy_datasource.example]
5 5
 dummy =

+ 1
- 1
lodel/settings/settings_loader.py View File

@@ -176,7 +176,7 @@ class SettingsLoader(object):
176 176
         remains = self.getremains()
177 177
         err_l = self.__errors_list
178 178
         for key_id, filename in remains.items():
179
-            err_l.append(SettingsError( msg = "Invalid configuration",
179
+            err_l.append(SettingsError( msg = "Invalid configuration key",
180 180
                                         key_id = key_id,
181 181
                                         filename = filename))
182 182
         if len(err_l) > 0:

Loading…
Cancel
Save