Revert "Styling: deprecation"

This reverts commit ecc2b6e742.

Fixes #4069
pull/4420/head
James Cammarata 2013-09-09 15:17:27 -05:00
parent 8d0487c31e
commit b3c0e3e45e
1 changed files with 1 additions and 1 deletions

View File

@ -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 'key' in self:
if self.has_key(key):
return self[key]
else:
return default