Fix pep8 issues.

This commit is contained in:
Florian Bruhin 2015-11-04 17:41:33 +01:00
parent 4e8cf70c10
commit 3525659b90

View File

@ -47,6 +47,7 @@ pyeval_output = ":pyeval was never called"
HANDLERS = {}
def add_handler(name):
"""Add a handler to the qute: scheme."""
def namedecorator(function):
@ -54,6 +55,7 @@ def add_handler(name):
return function
return namedecorator
class QuteSchemeHandler(schemehandler.SchemeHandler):
"""Scheme handler for qute: URLs."""
@ -198,4 +200,3 @@ def qute_settings(win_id, _request):
win_id=win_id, title='settings', config=configdata,
confget=config_getter)
return html.encode('UTF-8', errors='xmlcharrefreplace')