Fix NPE bug in RAC worker
We need to return `None`, not `0` if there are no additional repositories to measure
This commit is contained in:
parent
e47ac22012
commit
80693d6b8c
3 changed files with 9 additions and 5 deletions
|
@ -7,4 +7,7 @@ def test_repositoryactioncount(app):
|
|||
database.RepositorySearchScore.delete().execute()
|
||||
|
||||
rac = RepositoryActionCountWorker()
|
||||
rac._count_repository_actions()
|
||||
while rac._count_repository_actions():
|
||||
continue
|
||||
|
||||
|
||||
|
|
Reference in a new issue