Cleanup a bit of non-PEP-8 conformant code.

feature/documentation-builds-dirhtml
Isis Lovecruft 2013-03-06 21:42:57 +00:00 committed by Isis Lovecruft
parent 2c6d06a4bc
commit 7eff7b4a03
1 changed files with 2 additions and 1 deletions

View File

@ -791,7 +791,8 @@ def _is_allowed(input):
assert underscored in _allowed
except AssertionError as ae:
logger.warn("Dropping option '%s'..." % _fix_unsafe(underscored))
raise ProtectedOption("Option '%s' not supported." % _fix_unsafe(underscored))
raise ProtectedOption("Option '%s' not supported."
% _fix_unsafe(underscored))
else:
logger.msg("Got allowed option '%s'." % _fix_unsafe(underscored))
return input