示例#1
0
def main():
    print init_info()

    certutil.init()

    server_address = ("", config.listen_port)
    httpd = LocalProxyServer(server_address, LocalProxyHandler)

    print "获取更新信息当中..."
    print "~~%s~~" % urllib2.urlopen(gaeServer + "getupdate").read()
    print "server is running..."
    httpd.serve_forever()
示例#2
0
def main():
    print init_info() 
    
    certutil.init()

    server_address = ('', config.listen_port)
    httpd = LocalProxyServer(server_address, LocalProxyHandler)

    print '获取更新信息当中...'
    print '~~%s~~' % urllib2.urlopen(gaeServer + 'getupdate').read()
    print 'server is running...'
    httpd.serve_forever()
示例#3
0
def main():
    print init_info() 
    
    certutil.init()

    server_address = ('', config.listen_port)
    httpd = LocalProxyServer(server_address, LocalProxyHandler)

    print '获取更新信息当中...'
    print '~~%s~~' % urllib2.urlopen(gaeServer + 'getupdate').read()
    print 'server is running...'
    httpd.serve_forever()