X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=bin%2Fcheck-hrns.py;h=49d73e85c0a0018329b0a46451adfb688f1a7279;hb=26c169aef3c6ec4dad604519fa06f506569db0a3;hp=7c8bdef73caf2d19a016076c7306a7f693a52c8d;hpb=20aa5b1780c2c2ae241449cf18106a61a9bb065f;p=myplc.git diff --git a/bin/check-hrns.py b/bin/check-hrns.py index 7c8bdef..49d73e8 100755 --- a/bin/check-hrns.py +++ b/bin/check-hrns.py @@ -5,11 +5,7 @@ from optparse import OptionParser from PLC.Namespace import hostname_to_hrn, email_to_hrn, slicename_to_hrn # (auth_hrn, email): -try: - from sfa.util.config import Config - toplevel=Config().SFA_INTERFACE_HRN -except: - toplevel=api.config.PLC_HRN_ROOT +toplevel=api.config.PLC_HRN_ROOT def handle_nodes (sites,sites_by_id, dry_run, verbose): nodes=GetNodes ({'peer_id':None},['node_id','hostname','hrn'])