From 3894a7e83f1dd68a854895b923fcba22228ccb1b Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Thu, 12 Nov 2009 19:58:46 +0000 Subject: [PATCH] Don't display imported sites in the RSpec --- sfa/rspecs/aggregates/vini/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/rspecs/aggregates/vini/utils.py b/sfa/rspecs/aggregates/vini/utils.py index b5bfa5c7..17045286 100644 --- a/sfa/rspecs/aggregates/vini/utils.py +++ b/sfa/rspecs/aggregates/vini/utils.py @@ -560,12 +560,12 @@ class Topology: """ def toxml(self, hrn = None): xml = """ - + """ for site in self.getSites(): - if not (site.public and site.enabled): + if not (site.public and site.enabled and site.node_ids): continue xml += """ -- 2.47.0