summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/common/clientmanager.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py
index 66dc880e..36c3ce26 100644
--- a/openstackclient/common/clientmanager.py
+++ b/openstackclient/common/clientmanager.py
@@ -154,7 +154,10 @@ def get_plugin_modules(group):
try:
module_name = ep.entry_point.module_name
except AttributeError:
- module_name = ep.entry_point.module
+ try:
+ module_name = ep.entry_point.module
+ except AttributeError:
+ module_name = ep.entry_point.value
try:
module = importlib.import_module(module_name)