summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bengtsson <dbengt@redhat.com>2020-04-21 23:42:01 +0200
committerDaniel Bengtsson <dbengt@redhat.com>2020-04-21 23:42:23 +0200
commitd3dd574603293d9d92f06ff40c38d0135443399a (patch)
tree3ea8fe25efc1c191ed310e719427f034f4acbc3d
parenta9d01eef93eef576bcecabf54e86c3a7a49651c8 (diff)
downloadpython-keystoneclient-d3dd574603293d9d92f06ff40c38d0135443399a.tar.gz
Fix the typo on attribute word.
Fix the typo for the attribute word in comment and docstring. Change-Id: Ic4a841c333d712a22503c1d7dc2d21619c601408
-rw-r--r--keystoneclient/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/base.py b/keystoneclient/base.py
index f5e38eb..e796934 100644
--- a/keystoneclient/base.py
+++ b/keystoneclient/base.py
@@ -555,7 +555,7 @@ class Resource(object):
except UnicodeEncodeError:
# This happens when we're running with Python version that
# does not support Unicode identifiers (e.g. Python 2.7).
- # In that case we can't help but not set this attrubute;
+ # In that case we can't help but not set this attribute;
# it'll be available in a dict representation though
pass
self._info[k] = v
@@ -564,7 +564,7 @@ class Resource(object):
pass
def __getattr__(self, k):
- """Checking attrbiute existence."""
+ """Checking attribute existence."""
if k not in self.__dict__:
# NOTE(bcwaldon): disallow lazy-loading if already loaded once
if not self.is_loaded():