mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Revert "Styling: deprecation"
This reverts commit ecc2b6e742
.
Fixes #4069
This commit is contained in:
parent
8d0487c31e
commit
b3c0e3e45e
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class Rhn(RegistrationBase):
|
||||||
# configuration. Yeah, I know this should be subclassed ... but, oh
|
# configuration. Yeah, I know this should be subclassed ... but, oh
|
||||||
# well
|
# well
|
||||||
def get_option_default(self, key, default=''):
|
def get_option_default(self, key, default=''):
|
||||||
if 'key' in self:
|
if self.has_key(key):
|
||||||
return self[key]
|
return self[key]
|
||||||
else:
|
else:
|
||||||
return default
|
return default
|
||||||
|
|
Loading…
Reference in a new issue