Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigiboard / vigiboard / lib / app_globals.py @ 011743be

History | View | Annotate | Download (528 Bytes)

1
# -*- coding: utf-8 -*-
2
# Copyright (C) 2007-2020 CS GROUP - France
3
# License: GNU GPL v2 <http://www.gnu.org/licenses/gpl-2.0.html>
4

    
5
"""The application's Globals object"""
6

    
7
__all__ = ['Globals']
8

    
9

    
10
class Globals(object):
11
    """Container for objects available throughout the life of the application.
12

13
    One instance of Globals is created during application initialization and
14
    is available during requests via the 'app_globals' variable.
15

16
    """
17

    
18
    def __init__(self):
19
        """Do nothing, by default."""
20
        pass