Update git submodules
* Update horizon from branch 'master' to 1503e8d88d5afe7fbcaba04c65287bdeea5377a0 - Merge "Replace deprecated imp module" - Replace deprecated imp module The imp module is deprecated since Python 3.4[1] in favor of the new importlib module. This change replaces usage of that deprecated module. [1] https://docs.python.org/3/library/imp.html NOTES: - This change simplifies the logic, assuming the DJANGO_SETTINGS_MODULE environment should be a module name. (The previous implementation eventually raises an exception if the name is not a module name but anything else like a class name.) - The imp.find_module method raises ImportError when the module is not found. This means the previous implementation never returns sys.path[0]. If the module is found the value is replaced and if it is not found then the method doesn't return any value but raises an exception. Change-Id: I798f345e729ae974917872ba1f2e43205a660c45
This commit is contained in:
parent
1f6148b1f9
commit
202f8d5f6c
2
horizon
2
horizon
@ -1 +1 @@
|
||||
Subproject commit fbc9f44fa6ef694e090ec239123f10b449469253
|
||||
Subproject commit 1503e8d88d5afe7fbcaba04c65287bdeea5377a0
|
Loading…
Reference in New Issue
Block a user