#NEWLINE# def asString( self ) : #NEWLINE# #INDENT# t = [ ( '[Session(%s) Name: %s, Expire: %s, Backtrack: %s, Keep: %s]' % ( repr ( self . key ) , repr ( t . name ) , repr ( self . expireTime ( ) ) , repr ( self . _backtrack ) , repr ( self . _keep ) ) ) ] #NEWLINE# for dataset in [ self . data [ ( - 1 ) ] ] : #NEWLINE# #INDENT# fields = dataset . keys ( ) #NEWLINE# fields . sort ( ) #NEWLINE# for field in fields : #NEWLINE# #INDENT# t . append ( ( '%s: %s\n' % ( field , repr ( dataset [ field ] ) . encode ( 'UTF-8' ) ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# return ', ' . join ( t )