From 9527fa3abce92a8625066e7013c6fa594ce0def9 Mon Sep 17 00:00:00 2001 From: richard-dds Date: Mon, 18 Jun 2018 10:44:51 -0400 Subject: [PATCH] Some cleanup, thanks to pylint --- atst/handler.py | 3 +-- atst/handlers/home.py | 1 - atst/handlers/main.py | 1 - atst/handlers/request_new.py | 1 + 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/atst/handler.py b/atst/handler.py index 637fdf35..afe80fa8 100644 --- a/atst/handler.py +++ b/atst/handler.py @@ -1,4 +1,3 @@ -import os from webassets import Environment, Bundle import tornado.web from atst.home import home @@ -29,7 +28,7 @@ class BaseHandler(tornado.web.RequestHandler): if self.get_secure_cookie('atst'): return True else: - False + return False # this is a temporary implementation until we have real sessions def _start_session(self): diff --git a/atst/handlers/home.py b/atst/handlers/home.py index d600dfaa..4ab45889 100644 --- a/atst/handlers/home.py +++ b/atst/handlers/home.py @@ -1,4 +1,3 @@ -import tornado from atst.handler import BaseHandler class Home(BaseHandler): diff --git a/atst/handlers/main.py b/atst/handlers/main.py index 71ff1395..98cf405d 100644 --- a/atst/handlers/main.py +++ b/atst/handlers/main.py @@ -1,4 +1,3 @@ -import atst import tornado from atst.handler import BaseHandler diff --git a/atst/handlers/request_new.py b/atst/handlers/request_new.py index 97edf84d..21a756d2 100644 --- a/atst/handlers/request_new.py +++ b/atst/handlers/request_new.py @@ -7,6 +7,7 @@ from atst.forms.readiness import ReadinessForm from atst.forms.review import ReviewForm import tornado.httputil + class RequestNew(BaseHandler): screens = [ { 'title' : 'Details of Use',