Styling: deprecation
This commit is contained in:
parent
9f6a9def19
commit
ca2c28413a
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 self.has_key(key):
|
if 'key' in self:
|
||||||
return self[key]
|
return self[key]
|
||||||
else:
|
else:
|
||||||
return default
|
return default
|
||||||
|
|
Loading…
Reference in a new issue