diff --git a/packaging/rhn_register b/packaging/rhn_register index 1a64041a596..defed9f6187 100644 --- a/packaging/rhn_register +++ b/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 self.has_key(key): + if 'key' in self: return self[key] else: return default