removed None initial arguments for jobInfos
This commit is contained in:
parent
7a9bd06edf
commit
0bec591262
1 changed files with 1 additions and 3 deletions
|
|
@ -45,10 +45,8 @@ class Job:
|
||||||
self.hostgroup = hostgroup
|
self.hostgroup = hostgroup
|
||||||
#TODO: limit the size of this list; else it is a memory leak
|
#TODO: limit the size of this list; else it is a memory leak
|
||||||
self.jobInfos = []
|
self.jobInfos = []
|
||||||
self.jobIndex = 0
|
self.jobIndex = -1
|
||||||
self.jobInfoSize = 10
|
self.jobInfoSize = 10
|
||||||
for i in range(self.jobInfoSize):
|
|
||||||
self.jobInfos.append(None)
|
|
||||||
self.jobThreshold = 0
|
self.jobThreshold = 0
|
||||||
self._enabled = True
|
self._enabled = True
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue