def paging_get_page(request):
  try:
    page = int(request.GET.get('page', 1))
  except __HOLE__:
    page = 1
  if page <= 0:
    page = 1
  return page
dataset/ETHPy150Open CollabQ/CollabQ/common/util.py/paging_get_page