diff --git a/library/packaging/rhn_register b/library/packaging/rhn_register index defed9f618..1a64041a59 100644 --- a/library/packaging/rhn_register +++ b/library/packaging/rhn_register @@ -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