Changing --invalid-bignum from float producing to int producing

This commit is contained in:
Miroslav Stampar
2014-01-23 09:07:25 +01:00
parent fc02badf40
commit f88f6dcd7e
2 changed files with 2 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ class Agent(object):
_ = randomInt(2)
value = "%s%s AND %s=%s" % (origValue, match.group() if match else "", _, _ + 1)
elif conf.invalidBignum:
value = "%d.%d" % (randomInt(6), randomInt(1))
value = randomInt(6)
else:
if newValue.startswith("-"):
value = ""