~maddevelopers/mg5amcnlo/WWW5_caching

« back to all changes in this revision

Viewing changes to madgraph3/lib/app_globals.py

  • Committer: John Doe
  • Date: 2013-03-25 20:27:02 UTC
  • Revision ID: john.doe@gmail.com-20130325202702-5sk3t1r8h33ca4p4
first clean version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
 
 
3
"""The application's Globals object"""
 
4
 
 
5
__all__ = ['Globals']
 
6
 
 
7
 
 
8
class Globals(object):
 
9
    """Container for objects available throughout the life of the application.
 
10
 
 
11
    One instance of Globals is created during application initialization and
 
12
    is available during requests via the 'app_globals' variable.
 
13
 
 
14
    """
 
15
 
 
16
    def __init__(self):
 
17
        """Do nothing, by default."""
 
18
        pass