def _get_orientation_changes(self):
self.orientation_changes = []<EOL>for page in self.pages:<EOL><INDENT>if page.orientation_change is True:<EOL><INDENT>self.orientation_changes.append(page.index)<EOL><DEDENT>else:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>return self.orientation_changes<EOL>
Returns a list of the pages that have
            orientation changes.