summaryrefslogtreecommitdiffhomepage
path: root/doc/source/quantumclient
diff options
context:
space:
mode:
authorBrad Cowie <brad@gizmoguy.net.nz>2017-05-09 10:48:18 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-05-09 10:48:18 +0900
commita197d87375808c4f99b48af3852eb5d1c986a6a9 (patch)
tree3bba2ad07a8561df88c087ae36a7b19ad20aa1ac /doc/source/quantumclient
parent077eef801e7ed6f32abdf2e42dbff21620589cfc (diff)
utils.import_module: Prefer filepath than Python module
Currently, ryu.utils.import_module() prefers the Python module path than the user specified file path, and if the user app name is the same with the Python module, this function returns the Python module instead of the user app. This patch fixes to try to load "file" before finding the loaded Python module, and fixes this problem. Note: With this patch, import_module() will reload (override) a module if the specified module file name is the same. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: Brad Cowie <brad@gizmoguy.net.nz> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source/quantumclient')
0 files changed, 0 insertions, 0 deletions