active_warning.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 
3 import nstart
4 import config
5 import os, sys, string, time
6 
7 from pyclearsilver.log import *
8 
9 from pyclearsilver.CSPage import Context
10 import neo_cgi, neo_cs, neo_util
11 from MBPage import MBPage
12 import webutil
13 
14 class ActivePage(MBPage):
15  def setup(self, hdf):
16  self.requestURI = hdf.getValue("Query.request", "")
17  if not self.requestURI:
18  self.requestURI = self.default_app_path()
19 
20  def display(self, hdf):
21  webutil.grabTopics(hdf, [])
22  pass
23 
24  def __del__(self):
25  if self.authdb:
26  self.authdb.close()
27  self.authdb = None
28 
29 def run(context):
30  page = ActivePage(context, pagename="active_warning", nologin=False)
31  return page
32 
33 def main(context):
34  page = run(context)
35  page.start()
36 
37 
38 if __name__ == "__main__":
39  main(Context())


webui
Author(s): Scott Hassan
autogenerated on Mon Jun 10 2019 15:51:24