Skip to content

Instantly share code, notes, and snippets.

@batok
Created May 6, 2009 21:20
Show Gist options
  • Save batok/107750 to your computer and use it in GitHub Desktop.
Save batok/107750 to your computer and use it in GitHub Desktop.
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