summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Khon <fjoe@samodelkin.net>2017-07-20 15:43:44 +0600
committerMax Khon <fjoe@samodelkin.net>2017-07-20 15:43:44 +0600
commitdb425c88e2ee56f6a057a9ae958ce85d4071d694 (patch)
treedf57afa2896fe89ccf9acf8919fab5f3babc5b2f
parente95521aa1eddf711d556d270cc6789a523ad1a84 (diff)
downloadopenstack-ansible-modules-db425c88e2ee56f6a057a9ae958ce85d4071d694.tar.gz
Fix ImportError in "keystone_manage: action=dbsync":
An exception occurred during task execution. The full traceback is: Traceback (most recent call last): File "/tmp/ansible_lKCJSO/ansible_module_keystone_manage.py", line 32, in <module> from keystone.openstack.common import gettextutils ImportError: No module named openstack.common
-rw-r--r--keystone_manage2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone_manage b/keystone_manage
index 780f7c9..296a133 100644
--- a/keystone_manage
+++ b/keystone_manage
@@ -31,7 +31,7 @@ try:
# https://bugs.launchpad.net/glance/+bug/885529
from keystone.openstack.common import gettextutils
gettextutils.install('keystone')
-except AttributeError:
+except ImportError:
# this is not havana
pass