Commits

Anonymous committed 09ee259

default_config: renamed automatic_soi to automatic_soa

Comments (0)

Files changed (2)

rope/base/default_config.py

     prefs['compress_objectdb'] = False
 
     # If `True`, rope analyzes each module when it is being saved.
-    prefs['automatic_soi'] = True
+    prefs['automatic_soa'] = True
 
     # If `False` when running modules or unit tests "dynamic object
     # inference" is turned off.  This makes them much faster.
             self._custom_source_folders.append(path)
 
     def _init_automatic_soi(self):
-        if not self.project.get_prefs().get('automatic_soi', False):
+        auto_soa = self.project.get_prefs().get('automatic_soi', None)
+        auto_soa = self.project.get_prefs().get('automatic_soa', auto_soa)
+        if not auto_soa:
             return
         callback = self._file_changed_for_soi
         observer = rope.base.resourceobserver.ResourceObserver(