Add warning comment to rhn_register module about fixing pep8 errors

reviewable/pr18780/r1
James Tanner 11 years ago
parent 6ca17b90d0
commit 1963546564

@ -172,6 +172,8 @@ class Rhn(RegistrationBase):
# configuration. Yeah, I know this should be subclassed ... but, oh
# well
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):
return self[key]
else:

Loading…
Cancel
Save