summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v3/identity_provider.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/identity/v3/identity_provider.py')
-rw-r--r--openstackclient/identity/v3/identity_provider.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/openstackclient/identity/v3/identity_provider.py b/openstackclient/identity/v3/identity_provider.py
index 0b530a26..5c638f9b 100644
--- a/openstackclient/identity/v3/identity_provider.py
+++ b/openstackclient/identity/v3/identity_provider.py
@@ -13,6 +13,8 @@
"""Identity v3 IdentityProvider action implementations"""
+import logging
+
from osc_lib.command import command
from osc_lib import utils
import six
@@ -20,6 +22,9 @@ import six
from openstackclient.i18n import _
+LOG = logging.getLogger(__name__)
+
+
class CreateIdentityProvider(command.ShowOne):
"""Create new identity provider"""
@@ -169,7 +174,7 @@ class SetIdentityProvider(command.Command):
not parsed_args.remote_id and
not parsed_args.remote_id_file and
not parsed_args.description):
- self.log.error(_('No changes requested'))
+ LOG.error(_('No changes requested'))
return (None, None)
# Always set remote_ids if either is passed in