Commit 9727a441 by James Tanner

Add warning comment to rhn_register module about fixing pep8 errors

parent 1d24bcc9
...@@ -172,6 +172,8 @@ class Rhn(RegistrationBase): ...@@ -172,6 +172,8 @@ class Rhn(RegistrationBase):
# configuration. Yeah, I know this should be subclassed ... but, oh # configuration. Yeah, I know this should be subclassed ... but, oh
# well # well
def get_option_default(self, key, default=''): def get_option_default(self, key, default=''):
# ignore pep8 W601 errors for this line
# setting this to use 'in' does not work in the rhn library
if self.has_key(key): if self.has_key(key):
return self[key] return self[key]
else: else:
......
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