annotate pylons_app/websetup.py @ 106:a86c8de926b4

some fixes in graph tab. Little fixes in files
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 25 Apr 2010 23:26:14 +0200
parents 564e40829f80
children 0e87466a117e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
1 """Setup the pylons_app application"""
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
2 import logging
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
3 from pylons_app.config.environment import load_environment
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
4 log = logging.getLogger(__name__)
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
5
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
6
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
7 def setup_app(command, conf, vars):
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
8 """Place any commands to setup pylons_app here"""
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
9 load_environment(conf.global_conf, conf.local_conf)