Flake8 fixes

This commit is contained in:
kingosticks 2015-03-06 00:31:48 +00:00
parent 0bd7eff8d6
commit be86ddfea8
2 changed files with 4 additions and 3 deletions

View File

@ -23,8 +23,9 @@ class MusicBoxExtension(ext.Extension):
return schema
def setup(self, registry):
registry.add('http:app', {'name': self.ext_name, 'factory': self.factory})
registry.add(
'http:app', {'name': self.ext_name, 'factory': self.factory})
def factory(self, config, core):
from tornado.web import RedirectHandler
from .web import IndexHandler, StaticHandler

View File

@ -24,7 +24,7 @@ class StaticHandler(tornado.web.StaticFileHandler):
def get_version(cls, settings, path):
return MusicBoxExtension.version
class IndexHandler(tornado.web.RequestHandler):
def initialize(self, config, path):