Styling: deprecation

reviewable/pr18780/r1
Michael DeHaan 12 years ago
parent 9f6a9def19
commit ca2c28413a

@ -172,7 +172,7 @@ class Rhn(RegistrationBase):
# configuration. Yeah, I know this should be subclassed ... but, oh
# well
def get_option_default(self, key, default=''):
if self.has_key(key):
if 'key' in self:
return self[key]
else:
return default

Loading…
Cancel
Save