#NEWLINE# def __init__( self , sid , create = False , expiration = 2880 ) : #NEWLINE# #INDENT# '\n        @param expiration:\n            The time each session lives on disk.  Old sessions are\n            culled from disk based on this.  Default 48 hours.\n        ' #NEWLINE# self . sid = sid #NEWLINE# if ( not sid ) : #NEWLINE# #INDENT# raise KeyError #NEWLINE# #UNINDENT# if ( not create ) : #NEWLINE# #INDENT# if ( self not in _SESSION_CACHE ) : #NEWLINE# #INDENT# raise KeyError #NEWLINE# #UNINDENT# #UNINDENT# self . _data = None #NEWLINE# self . expiration = expiration