From 6f3e93b60a0293a320cc71947461ad1ffab984d1 Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Thu, 19 Feb 2009 19:32:15 +0000 Subject: [PATCH] Remove topo_rspec attributes if egre_key not present --- create-topo-attributes.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/create-topo-attributes.py b/create-topo-attributes.py index 816c819..6d64d99 100755 --- a/create-topo-attributes.py +++ b/create-topo-attributes.py @@ -128,9 +128,10 @@ for slice in GetSlices(): id = slice['slice_id'] AddSliceAttribute(id, 'topo_rspec', topo_str, node) - """ Remove old topo_rspec entries """ - for node in topo_attr: - DeleteSliceAttribute(topo_attr[node]) - else: print "No EGRE key for %s" % slice['name'] + + """ Remove old topo_rspec entries """ + for node in topo_attr: + DeleteSliceAttribute(topo_attr[node]) + -- 2.43.0