#NEWLINE# def _remove_relative( self , relative_type , node , relative , trans_id ) : #NEWLINE# #INDENT# 'remove a relative from a node:\n        relative_type: "successors" or "predecessors" (string)\n        node: node name (string)\n        relative: name of the relative (string)\n        trans_id: a transaction ID (int)\n        ' #NEWLINE# redis_key = self . _gen_key ( node , [ relative_type ] ) #NEWLINE# self . transactions [ trans_id ] . srem ( redis_key , ( '%(relative)s' % { #NEWLINE# #INDENT# 'relative' : relative , #NEWLINE# #UNINDENT# } ) )