From a2a182c7d2ea815fdde029258d9c843d7adce2ec Mon Sep 17 00:00:00 2001 From: duplo Date: Thu, 5 Feb 2009 12:04:37 +0000 Subject: [PATCH] Add the final L in the long ints git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2269 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BModulePage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index c98ce937..83a2375f 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -107,8 +107,8 @@ class BModulePage(BWizardPage): maximmum = 32767 suff = "" elif bertos_utils.isLong(configurations[property]): - minimum = -2147483648 - maximum = 2147483647 + minimum = -2147483648L + maximum = 2147483647L suff = "L" elif bertos_utils.isUnsigned(configurations[property]): minimum = 0 @@ -116,7 +116,7 @@ class BModulePage(BWizardPage): suff = "U" elif bertos_utils.isUnsignedLong(configurations[property]): minimum = 0 - maximum = 4294967295 + maximum = 4294967295L suff = "UL" if "min" in configurations[property]["informations"].keys(): minimum = int(configurations[property]["informations"]["min"]) -- 2.25.1