cubicweb/server/sources/native.py
branch3.25
changeset 12152 f34d18d0603f
parent 12149 649100470733
child 12153 0ff0aff4413d
--- a/cubicweb/server/sources/native.py	Wed Apr 12 17:26:27 2017 +0200
+++ b/cubicweb/server/sources/native.py	Wed Apr 12 16:07:25 2017 +0200
@@ -350,10 +350,9 @@
         self.create_eid = self.eid_generator.create_eid
 
     def check_config(self, source_entity):
-        """check configuration of source entity"""
-        if source_entity.host_config:
-            msg = _('the system source has its configuration '
-                    'stored on the file-system')
+        if source_entity.config:
+            msg = _("Configuration of the system source goes to "
+                    "the 'sources' file, not in the database")
             raise ValidationError(source_entity.eid, {role_name('config', 'subject'): msg})
 
     def add_authentifier(self, authentifier):