display the 'Missing godchilds' message even if there are not
This commit is contained in:
parent
e5d4047016
commit
2a2ad84d8d
1 changed files with 3 additions and 2 deletions
|
|
@ -111,11 +111,12 @@ class PriorityConnection(Optimization):
|
||||||
return
|
return
|
||||||
|
|
||||||
missing_godchilds = int(self.config['minimal']) - nb_godchilds
|
missing_godchilds = int(self.config['minimal']) - nb_godchilds
|
||||||
if missing_godchilds <= 0:
|
|
||||||
return
|
|
||||||
|
|
||||||
self.logger.info('Missing godchilds: %s' % missing_godchilds)
|
self.logger.info('Missing godchilds: %s' % missing_godchilds)
|
||||||
|
|
||||||
|
if missing_godchilds <= 0:
|
||||||
|
return
|
||||||
|
|
||||||
for i in xrange(missing_godchilds):
|
for i in xrange(missing_godchilds):
|
||||||
registered = False
|
registered = False
|
||||||
while not registered:
|
while not registered:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue