cherryext/orun/session.py

8 lines
133 B
Python
Raw Normal View History

2013-04-30 09:49:34 +04:00
class Session(dict):
def add_object(self, obj):
self['js_' + id(obj)] = obj
def create_session():
return Session()