summaryrefslogtreecommitdiffstats
path: root/ipalib/parameters.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/parameters.py')
-rw-r--r--ipalib/parameters.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/parameters.py b/ipalib/parameters.py
index 78eacde25..0d6c69029 100644
--- a/ipalib/parameters.py
+++ b/ipalib/parameters.py
@@ -109,6 +109,7 @@ from errors import PasswordMismatch
from constants import NULLS, TYPE_ERROR, CALLABLE_ERROR
from text import Gettext, FixMe
import csv
+from xmlrpclib import MAXINT
class DefaultFrom(ReadOnly):
@@ -1002,7 +1003,7 @@ class Int(Number):
kwargs = Param.kwargs + (
('minvalue', int, None),
- ('maxvalue', int, None),
+ ('maxvalue', int, int(MAXINT)),
)
def __init__(self, name, *rules, **kw):