To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 48a46cf9 authored by Stefan Marr's avatar Stefan Marr
Browse files

Use 32-bit integers, for compatibility


Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent 6ddc7135
from som.vmobjects.object import Object
import sys
class Integer(Object):
def __init__(self, nilObject):
......@@ -23,4 +21,4 @@ class Integer(Object):
@classmethod
def value_fits(cls, value):
return value < sys.maxint and value > (-sys.maxint - 1)
\ No newline at end of file
return value <= 2147483647 and value > -2147483646
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment