git://git.onelab.eu
/
myplc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check-hrns.py: Ciro fix
[myplc.git]
/
bin
/
check-hrns.py
diff --git
a/bin/check-hrns.py
b/bin/check-hrns.py
index
40909f2
..
e5ac4dc
100755
(executable)
--- 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:
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:
if dry_run: continue
SetSiteHrn (site['site_id'],hrn)
else: