From: Steve Losh Date: Sat, 7 Feb 2009 17:35:37 +0000 (-0500) Subject: Forgot to rearrange the script. X-Git-Tag: 1.0.0~53^2~4^2~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f61c45a6f5265deb5a9da1fd53da66b4baae104;p=be.git Forgot to rearrange the script. --- diff --git a/cfbe.py b/cfbe.py index d22d6b9..7ace04c 100755 --- a/cfbe.py +++ b/cfbe.py @@ -18,8 +18,6 @@ template_root = path.join(module_dir, 'templates') env = Environment(loader=FileSystemLoader(template_root)) env.filters['datetimeformat'] = datetimeformat -WebInterface = web.WebInterface(path.abspath(options['bug_root'])) - def build_parser(): """Builds and returns the command line option parser.""" @@ -41,4 +39,6 @@ def parse_arguments(): config = path.join(module_dir, 'cfbe.config') options = parse_arguments() + +WebInterface = web.WebInterface(path.abspath(options['bug_root'])) cherrypy.quickstart(WebInterface, '/', config)