def remove_cts_record(self, map, position):
        """
        Remove a CTS record
        :param map:
        :param position:
        :return:
        """
        def _key1(pos):
            return '%s/cts100record/crypto_idfp%s' % (map, pos)

        def _key2(pos):
            return '%s/cts100record/time%s' % (map, pos)

        for i in range(position, 100):
            if _key1(i) in self:
                del self[_key1(i)]
            if _key2(i) in self:
                del self[_key2(i)]
            if _key1(i+1) in self:
                self[_key1(i)] = self[_key1(i+1)]
            if _key2(i+1) in self:
                self[_key2(i)] = self[_key2(i+1)]
def remove_cts_record ( self , map , position ) : def _key1 ( pos ) : return '%s/cts100record/crypto_idfp%s' % ( map , pos ) def _key2 ( pos ) : return '%s/cts100record/time%s' % ( map , pos ) for i in range ( position , 100 ) : if _key1 ( i ) in self : del self [ _key1 ( i ) ] if _key2 ( i ) in self : del self [ _key2 ( i ) ] if _key1 ( i + 1 ) in self : self [ _key1 ( i ) ] = self [ _key1 ( i + 1 ) ] if _key2 ( i + 1 ) in self : self [ _key2 ( i ) ] = self [ _key2 ( i + 1 ) ]
Remove a CTS record
        :param map:
        :param position:
        :return: