Some cleanup, thanks to pylint
This commit is contained in:
parent
64c71c0aa7
commit
9527fa3abc
@ -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):
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import tornado
|
|
||||||
from atst.handler import BaseHandler
|
from atst.handler import BaseHandler
|
||||||
|
|
||||||
class Home(BaseHandler):
|
class Home(BaseHandler):
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import atst
|
|
||||||
import tornado
|
import tornado
|
||||||
from atst.handler import BaseHandler
|
from atst.handler import BaseHandler
|
||||||
|
|
||||||
|
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user