##// END OF EJS Templates
cache sys-info
Bussonnier Matthias -
Show More
@@ -37,6 +37,8 b' from IPython.html.utils import is_hidden, url_path_join, url_escape'
37 #-----------------------------------------------------------------------------
37 #-----------------------------------------------------------------------------
38 non_alphanum = re.compile(r'[^A-Za-z0-9]')
38 non_alphanum = re.compile(r'[^A-Za-z0-9]')
39
39
40 sys_info = json.dumps(get_sys_info())
41
40 class AuthenticatedHandler(web.RequestHandler):
42 class AuthenticatedHandler(web.RequestHandler):
41 """A RequestHandler with an authenticated user."""
43 """A RequestHandler with an authenticated user."""
42
44
@@ -222,7 +224,7 b' class IPythonHandler(AuthenticatedHandler):'
222 logged_in=self.logged_in,
224 logged_in=self.logged_in,
223 login_available=self.login_available,
225 login_available=self.login_available,
224 static_url=self.static_url,
226 static_url=self.static_url,
225 sys_info=json.dumps(get_sys_info())
227 sys_info=sys_info
226 )
228 )
227
229
228 def get_json_body(self):
230 def get_json_body(self):
General Comments 0
You need to be logged in to leave comments. Login now