def RConn(*args, **vars):
 locker.acquire()
 try:
  instance_name = ('redis_conn_' + current.request.application)
  if (not hasattr(RConn, instance_name)):
   setattr(RConn, instance_name, redis.StrictRedis(*args, **vars))
  return getattr(RConn, instance_name)
 finally:
  locker.release()

def RConn ( * args , ** vars ) : locker . acquire ( ) try : instance_name = ( 'redis_conn_' + current . request . application ) if ( not hasattr ( RConn , instance_name ) ) : setattr ( RConn , instance_name , redis . StrictRedis ( * args , ** vars ) ) return getattr ( RConn , instance_name ) finally : locker . release ( )
istantiates a strictredis connection with parameters .