source: cowsclient/tags/1.6.0-py2.6/cowsclient/lib/app_globals.py @ 7593

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cowsclient/tags/1.6.0-py2.6/cowsclient/lib/app_globals.py@7593
Revision 7593, 405 bytes checked in by astephen, 10 years ago (diff)

Tagged version updated to be compatible with:

  • python 2.6
  • pylons 1.0
Line 
1"""The application's Globals object"""
2from pylons import config
3
4class Globals(object):
5    """Globals acts as a container for objects available throughout the
6    life of the application
7    """
8
9    def __init__(self, config):
10        """One instance of Globals is created during application
11        initialization and is available during requests via the 'g'
12        variable
13        """
14        pass
Note: See TracBrowser for help on using the repository browser.