X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=bin%2Fcheck-hrns.py;fp=bin%2Fcheck-hrns.py;h=8899fd262a1f7fcb0d09c8af37aa0dd0267f301b;hb=7f36bd8cd036c31030bfcced8d4b1c1862a852f9;hp=e8961821f557b71aa1a432bce1a7e207d41fe1ee;hpb=19c91bc5aa4812d8b127dad885ddb4e14bc31d56;p=myplc.git diff --git a/bin/check-hrns.py b/bin/check-hrns.py index e896182..8899fd2 100755 --- a/bin/check-hrns.py +++ b/bin/check-hrns.py @@ -103,7 +103,7 @@ Example: # optimizing : we compute the set of sites only once sites = GetSites({'peer_id':None},['site_id','login_base','node_ids','person_ids','name','hrn']) # remove external sites created through SFA - sites = [site for site in sites if not site['name'].startswith('sfa.')] + sites = [site for site in sites if not site['name'].startswith('sfa:')] sites_by_id = dict ( [ (site['site_id'], site) for site in sites ] ) if options.nodes: handle_nodes(sites,sites_by_id,dry_run,verbose)