From 1f440fd7fa7aadb2278f8ba66b74e8acf1625a44 Mon Sep 17 00:00:00 2001 From: Ross Brattain Date: Mon, 22 Jan 2018 21:44:51 +0000 Subject: Update git submodules * Update docs/submodules/yardstick from branch 'master' - Merge "Replace "oslo_utils.importutils" with standard library "importlib"" - Replace "oslo_utils.importutils" with standard library "importlib" The current implementation of dynamic library importation is prone to failure [1]: - "sys.modules" is modified manually, which is something not recommended [2]. - When a module is imported is added to "sys.modules"; that means there is no need to manually create an entry in this object. - "importlib" library is part of the standard library and is now available in PY3 and PY2 (backported). This library contains a function called "import_module" to import a module in runtime. [1]https://github.com/opnfv/yardstick/blob/d2c7cc4e9768ed003257a95c92cdb278d516761b/yardstick/common/utils.py#L72-L93 [2]http://justus.science/blog/2015/04/19/sys.modules-is-dangerous.html JIRA: YARDSTICK-949 Change-Id: Ide3b74f98858d06fa275fb6c9b78ceeaa64feed5 Signed-off-by: Rodolfo Alonso Hernandez --- docs/submodules/yardstick | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/submodules') diff --git a/docs/submodules/yardstick b/docs/submodules/yardstick index 790576049..c4a9c507e 160000 --- a/docs/submodules/yardstick +++ b/docs/submodules/yardstick @@ -1 +1 @@ -Subproject commit 7905760496227384c56f143ca338529d7783b18b +Subproject commit c4a9c507ea65c0da465495c00de172baf50057a2 -- cgit 1.2.3-korg