From a244e7e2b15d9361f7065d1ce76a917ad544ca33 Mon Sep 17 00:00:00 2001 From: Mohamed Larabi Date: Fri, 13 Dec 2013 16:50:13 +0100 Subject: [PATCH] check-hrns.py: Ciro fix --- bin/check-hrns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/check-hrns.py b/bin/check-hrns.py index 40909f2..e5ac4dc 100755 --- a/bin/check-hrns.py +++ b/bin/check-hrns.py @@ -70,7 +70,7 @@ def handle_sites (sites,sites_by_id, dry_run,verbose): hrn='.'.join([toplevel, site['login_base']]) if site['hrn'] != hrn: if verbose: - print "Site %s - current hrn %s, should be %s"%(site['name'], site['hrn'], hrn) + print "Site %s - current hrn %s, should be %s"%(site['name'].encode('ascii', 'ignore'), site['hrn'], hrn) if dry_run: continue SetSiteHrn (site['site_id'],hrn) else: -- 2.43.0