[rhmessaging-commits] rhmessaging commits: r2872 - mgmt/trunk/cumin/python/cumin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Mon Nov 24 14:13:14 EST 2008
Author: eallen
Date: 2008-11-24 14:13:14 -0500 (Mon, 24 Nov 2008)
New Revision: 2872
Modified:
mgmt/trunk/cumin/python/cumin/limits.py
Log:
Convert limits to float instead of int.
Modified: mgmt/trunk/cumin/python/cumin/limits.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/limits.py 2008-11-24 18:16:15 UTC (rev 2871)
+++ mgmt/trunk/cumin/python/cumin/limits.py 2008-11-24 19:13:14 UTC (rev 2872)
@@ -210,8 +210,8 @@
imax = 0
errors = False
try:
- imax = int(max)
- if imax < 1 or imax > 99999:
+ fmax = float(max)
+ if fmax < 1.0 or fmax > 99999.0:
raise "out of bounds"
except:
errors = True
More information about the rhmessaging-commits
mailing list