changeset 464:391aa65f72b2

backend: restored `--hide-nodes` effect
author Goffi <goffi@goffi.org>
date Fri, 15 Oct 2021 13:40:59 +0200
parents f520ac3164b0
children 9af0ef2c145c
files sat_pubsub/backend.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_pubsub/backend.py	Fri Oct 15 13:40:56 2021 +0200
+++ b/sat_pubsub/backend.py	Fri Oct 15 13:40:59 2021 +0200
@@ -1747,7 +1747,7 @@
         except AttributeError:
             pep = False
 
-        if service.resource:
+        if self.hideNodes or service.resource:
             return []
 
         if nodeIdentifier: