Minor fix for (hidden) switch '--dummy'

This commit is contained in:
Miroslav Stampar 2015-05-29 17:30:02 +02:00
parent 08caca387b
commit 341d2a6028

View File

@ -212,7 +212,7 @@ class Connect(object):
cpuThrottle(conf.cpuThrottle) cpuThrottle(conf.cpuThrottle)
if conf.dummy: if conf.dummy:
return randomStr(int(randomInt()), alphabet=[chr(_) for _ in xrange(256)]), {}, int(randomInt()) return getUnicode(randomStr(int(randomInt()), alphabet=[chr(_) for _ in xrange(256)]), {}, int(randomInt())), None, None
threadData = getCurrentThreadData() threadData = getCurrentThreadData()
with kb.locks.request: with kb.locks.request: