Fixed a strange case in the dummyrunner.

This commit is contained in:
Griatch 2015-01-10 21:21:00 +01:00
parent cf2b83ef0a
commit d0d56ee5bf
2 changed files with 16 additions and 10 deletions

View file

@ -234,6 +234,9 @@ class DummyClient(telnet.StatefulTelnetProtocol):
NLOGGED_IN += 1 # this is for book-keeping
print "connecting client %s (%i/%i)..." % (self.key, NLOGGED_IN, NCLIENTS)
self._loggedin = True
else:
# no login yet, so cmdlist not yet set
return
else:
# we always pick a cumulatively random function
crand = random.random()