3272: Proposal for updating config settings
svn: r13346
This commit is contained in:
@ -388,8 +388,8 @@ class RelationshipCalculator(object):
|
||||
self.__db_connected = False
|
||||
self.depth = 15
|
||||
try:
|
||||
import Config
|
||||
self.set_depth(Config.get(Config.GENERATION_DEPTH))
|
||||
import config
|
||||
self.set_depth(config.get('behavior.generation-depth'))
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user