diff --git a/src/core/pyros_django/majordome/agent/Agent.py b/src/core/pyros_django/majordome/agent/Agent.py index 10c8d9e..c26c281 100755 --- a/src/core/pyros_django/majordome/agent/Agent.py +++ b/src/core/pyros_django/majordome/agent/Agent.py @@ -3468,13 +3468,13 @@ class Agent: def check_contexts(self, loginfo:bool): - for fcname in self.fn.fcontexts: - self.fn.fcontext = fcname + for fcname in self._oc['config'].fn.fcontexts: + self._oc['config'].fn.fcontext = fcname if self.is_in_test_mode(): - self.fn.rootdir = os.path.abspath(self.fn.rootdir.replace("/PRODUCTS/","/PRODUCTS/TESTS/")) - os.makedirs(self._fn.rootdir, exist_ok=True) + self._oc['config'].fn.rootdir = os.path.abspath(self._oc['config'].fn.rootdir.replace("/PRODUCTS/","/PRODUCTS/TESTS/")) + os.makedirs(self._oc['config'].fn.rootdir, exist_ok=True) if loginfo: - log.info(self.fn.fcontext_human()) + log.info(self._oc['config'].fn.fcontext_human()) -- libgit2 0.21.2