X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=bin%2Fcheck-hrns.py;h=1002d24651b24fa4c9d7a014ee2f0bcc68538640;hb=7ac1a3990b57ed402b90dc89c6fa31905919b786;hp=777d2587f01dacbb2aaefce5256076a412b06517;hpb=b8a22632509d2c93ef80da7392573dd74399d8d8;p=myplc.git diff --git a/bin/check-hrns.py b/bin/check-hrns.py index 777d258..1002d24 100755 --- a/bin/check-hrns.py +++ b/bin/check-hrns.py @@ -28,7 +28,7 @@ def handle_persons (sites,sites_by_id, dry_run,verbose): for person in persons: how_many=len(person['site_ids']) if how_many !=1: - if verbose: print "person %s not in 1 site (%s instead) -- ignored"%(person['email'],how_many) + if verbose: print "Checking persons in exactly one site -- person %s in %s site(s) -- ignored"%(person['email'],how_many) continue try: login_base=sites_by_id[person['site_ids'][0]]['login_base'] except: print "Cannot handle person %s - site not found"%person['email']; continue