#NEWLINE# def __init__( self , host = 'localhost' , port = 6379 , prefix = 'mxr:' , ttl = 604800 ) : #NEWLINE# #INDENT# self . prefix = prefix #NEWLINE# self . ttl = ttl #NEWLINE# self . r = redis . StrictRedis ( host = host , port = port , db = 0 )