mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Clarify the comment
This commit is contained in:
parent
91d98bb1a6
commit
52698596bc
1 changed files with 2 additions and 2 deletions
|
@ -162,8 +162,8 @@ class Rhn(RegistrationBase):
|
||||||
# well
|
# well
|
||||||
def get_option_default(self, key, default=''):
|
def get_option_default(self, key, default=''):
|
||||||
# the class in rhn-client-tools that this comes from didn't
|
# the class in rhn-client-tools that this comes from didn't
|
||||||
# implement __contains__(). That's why we check if the key is
|
# implement __contains__() until 2.5.x. That's why we check if
|
||||||
# present in the dictionary that is the actual storage
|
# the key is present in the dictionary that is the actual storage
|
||||||
if key in self.dict:
|
if key in self.dict:
|
||||||
return self[key]
|
return self[key]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue