[IMP] don't get some funky alias for the Root class, go get it where it lives

bzr revid: xmo@openerp.com-20110902105305-2z3itgh902hx2b9l
This commit is contained in:
Xavier Morel 2011-09-02 12:53:05 +02:00
parent edc5a3904f
commit 279aea7c73
1 changed files with 2 additions and 2 deletions

View File

@ -29,13 +29,13 @@ optparser.add_option('--no-serve-static', dest='serve_static',
default=True, action='store_false',
help="Do not serve static files via this server")
import base
import base.common.dispatch
if __name__ == "__main__":
(options, args) = optparser.parse_args(sys.argv[1:])
os.environ["TZ"] = "UTC"
app = base.common.Root(options)
app = base.common.dispatch.Root(options)
werkzeug.serving.run_simple(
'0.0.0.0', options.socket_port, app,