diff 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
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: