Go to the documentation of this file.00001
00002
00003 """
00004 usage: %(progname)s [args]
00005 """
00006
00007 import os, sys, string, time, getopt, re
00008 import neo_cgi, neo_util, neo_cs
00009 from pyclearsilver.log import *
00010 from pyclearsilver import CSPage, odb
00011
00012 from webui import MBPage
00013
00014 class MyPage(MBPage.MBPage):
00015 def setup(self, hdf):
00016 pass
00017
00018 def display(self, hdf):
00019 hdf.setValue('CGI.listen_only', 'false')
00020
00021 def run(context):
00022 return MyPage(context, pagename="index", nologin=False)
00023
00024 def main():
00025 context = CSPage.Context()
00026 run(context).start()
00027
00028 if __name__ == "__main__":
00029 main()