Created
May 6, 2009 21:20
-
-
Save batok/107750 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Queue import Queue | |
"""The application's Globals object""" | |
class Globals(object): | |
"""Globals acts as a container for objects available throughout the | |
life of the application | |
""" | |
def __init__(self): | |
"""One instance of Globals is created during application | |
initialization and is available during requests via the 'g' | |
variable | |
""" | |
self.colaiclar = Queue() | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment