Mercurial > libervia-pubsub
comparison sat_pubsub/backend.py @ 464:391aa65f72b2
backend: restored `--hide-nodes` effect
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 15 Oct 2021 13:40:59 +0200 |
parents | f520ac3164b0 |
children | d86e0f8a1405 |
comparison
equal
deleted
inserted
replaced
463:f520ac3164b0 | 464:391aa65f72b2 |
---|---|
1745 try: | 1745 try: |
1746 pep = service.pep | 1746 pep = service.pep |
1747 except AttributeError: | 1747 except AttributeError: |
1748 pep = False | 1748 pep = False |
1749 | 1749 |
1750 if service.resource: | 1750 if self.hideNodes or service.resource: |
1751 return [] | 1751 return [] |
1752 | 1752 |
1753 if nodeIdentifier: | 1753 if nodeIdentifier: |
1754 items = await self.backend.getItemsIds( | 1754 items = await self.backend.getItemsIds( |
1755 nodeIdentifier, | 1755 nodeIdentifier, |