1
0
Fork 0
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:
Toshio Kuratomi 2016-11-17 14:05:55 -08:00 committed by Matt Clay
parent 91d98bb1a6
commit 52698596bc

View file

@ -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: