예제 #1
0
 def parse_into_pages(self, raw):
     """Extend to add empty pages to the front if there are less than three.
     """
     pages = DynamicResource.parse_into_pages(self, raw)
     while len(pages) < 3:
         pages = [''] + pages
     return pages
예제 #2
0
 def parse_into_pages(self, raw):
     """Extend to add empty pages to the front if there are less than three.
     """
     pages = DynamicResource.parse_into_pages(self, raw)
     while len(pages) < 3:
         pages = [''] + pages
     return pages
예제 #3
0
 def parse_into_pages(self, raw):
     """Extend to add empty pages to the front if there are less than three.
     """
     pages = DynamicResource.parse_into_pages(self, raw)
     self._prepend_empty_pages(pages, 3)
     return pages
예제 #4
0
 def parse_into_pages(self, raw):
     """Extend to add empty pages to the front if there are less than three.
     """
     pages = DynamicResource.parse_into_pages(self, raw)
     self._prepend_empty_pages(pages, 3)
     return pages