×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: Piotr Łaczkowski
Added: Apr 11, 2017 8:09 AM
Modified: Apr 11, 2017 8:10 AM
Views: 10
Tags: no tags
  1. savs_paginator    = CustomPaginator([savs_with_warnings, _ols, savs_out_warnings], 15, [savlib.list_data_cleaner, None, savlib.list_data_cleaner])
  2.             try:
  3.                 savs = savs_paginator.page(savs_page)
  4.             except PageNotAnInteger:
  5.                 savs = savs_paginator.page(1)
  6.             except EmptyPage:
  7.                 savs = savs_paginator.page(savs_paginator.num_pages)