From d29d322afd7aa2cc097d38fa1dbfb3aa0a868617 Mon Sep 17 00:00:00 2001 From: Robert Blum Date: Thu, 19 Feb 2015 11:00:20 -0600 Subject: [PATCH] Omaha #4120 One additional change to the PythonOverriderInterface to reload all the modules. Former-commit-id: b34f58198f66e2c7365e83984d22d3fe144ad3b4 --- .../common_static/base/python/PythonOverriderInterface.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/edexOsgi/com.raytheon.uf.common.localization.python/utility/common_static/base/python/PythonOverriderInterface.py b/edexOsgi/com.raytheon.uf.common.localization.python/utility/common_static/base/python/PythonOverriderInterface.py index 4fb037516f..be07cbab69 100644 --- a/edexOsgi/com.raytheon.uf.common.localization.python/utility/common_static/base/python/PythonOverriderInterface.py +++ b/edexOsgi/com.raytheon.uf.common.localization.python/utility/common_static/base/python/PythonOverriderInterface.py @@ -35,6 +35,8 @@ # ------------ ---------- ----------- -------------------------- # 01/14/2014 #2766 bkowal Initial Creation. # 02/09/2015 #4120 reblum Inherit straight from MasterInterface. +# 02/19/2015 #4120 reblum Reload all modules on reload to ensure +# that all references to old modules are removed. # # # @@ -72,6 +74,7 @@ class PythonOverriderInterface(MasterInterface.MasterInterface): def reloadModule(self, moduleName): if sys.modules.has_key(moduleName): + self.reloadModules() self.clearModuleAttributes(moduleName) self._importModule(moduleName)