Some cleanup, thanks to pylint

This commit is contained in:
richard-dds 2018-06-18 10:44:51 -04:00
parent 64c71c0aa7
commit 9527fa3abc
4 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,3 @@
import os
from webassets import Environment, Bundle from webassets import Environment, Bundle
import tornado.web import tornado.web
from atst.home import home from atst.home import home
@ -29,7 +28,7 @@ class BaseHandler(tornado.web.RequestHandler):
if self.get_secure_cookie('atst'): if self.get_secure_cookie('atst'):
return True return True
else: else:
False return False
# this is a temporary implementation until we have real sessions # this is a temporary implementation until we have real sessions
def _start_session(self): def _start_session(self):

View File

@ -1,4 +1,3 @@
import tornado
from atst.handler import BaseHandler from atst.handler import BaseHandler
class Home(BaseHandler): class Home(BaseHandler):

View File

@ -1,4 +1,3 @@
import atst
import tornado import tornado
from atst.handler import BaseHandler from atst.handler import BaseHandler

View File

@ -7,6 +7,7 @@ from atst.forms.readiness import ReadinessForm
from atst.forms.review import ReviewForm from atst.forms.review import ReviewForm
import tornado.httputil import tornado.httputil
class RequestNew(BaseHandler): class RequestNew(BaseHandler):
screens = [ screens = [
{ 'title' : 'Details of Use', { 'title' : 'Details of Use',