def make_general_rowkey_scan(rts_start=None, rts_end=None, some_id=None):
 if (some_id is None):
  return (None, None)
 if (not rts_start):
  rts_start = chr(122)
 end_row = prepare_key(some_id, rts_start)
 start_row = prepare_key(some_id, rts_end)
 return (start_row, end_row)

def make_general_rowkey_scan ( rts_start = None , rts_end = None , some_id = None ) : if ( some_id is None ) : return ( None , None ) if ( not rts_start ) : rts_start = chr ( 122 ) end_row = prepare_key ( some_id , rts_start ) start_row = prepare_key ( some_id , rts_end ) return ( start_row , end_row )
if its filter on some_id without start and end .