Commit ecc2b6e7 by Michael DeHaan

Styling: deprecation

parent 2e63faf2
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment