def filter_hidden_frames(self):
        """Remove the frames according to the paste spec."""
        for group in self.groups:
            group.filter_hidden_frames()

        self.frames[:] = [frame for group in self.groups for frame in group.frames]
def filter_hidden_frames ( self ) : for group in self . groups : group . filter_hidden_frames ( ) self . frames [ : ] = [ frame for group in self . groups for frame in group . frames ]
Remove the frames according to the paste spec.