You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2020/02/10 22:45:07 UTC

[allura] 36/41: [#8349] python-modernize -n -w --no-diffs -f renames .

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8349
in repository https://gitbox.apache.org/repos/asf/allura.git

commit f946c4d984b0f55bfa3028e5fbac8b5ea6f1f4cc
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Mon Feb 10 17:00:04 2020 -0500

    [#8349] python-modernize -n -w --no-diffs -f renames .
---
 Allura/allura/lib/helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/lib/helpers.py b/Allura/allura/lib/helpers.py
index 8f075eb..13c14a8 100644
--- a/Allura/allura/lib/helpers.py
+++ b/Allura/allura/lib/helpers.py
@@ -678,7 +678,7 @@ def twophase_transaction(*engines):
         raise
 
 
-def paging_sanitizer(limit, page, total_count=sys.maxint, zero_based_pages=True):
+def paging_sanitizer(limit, page, total_count=sys.maxsize, zero_based_pages=True):
     """Return limit, page - both converted to int and constrained to
     valid ranges based on total_count.