##// END OF EJS Templates
prettier output for upgrade_dir
vivainio -
Show More
@@ -65,8 +65,9 b' def upgrade_dir(srcdir, tgtdir):'
65 pr(' == Modified, skipping %s, diffs below == ' % tgt)
65 pr(' == Modified, skipping %s, diffs below == ' % tgt)
66 #rpt[str(tgt)] = md5.new(tgt.bytes()).hexdigest()
66 #rpt[str(tgt)] = md5.new(tgt.bytes()).hexdigest()
67 real = showdiff(tgt,src)
67 real = showdiff(tgt,src)
68 pr('') # empty line
68 if not real:
69 if not real:
69 print "(Ok, it wasn't that different at all, upgrading checksum)"
70 pr("(Ok, it wasn't that different at all, upgrading checksum)")
70 rpt[str(tgt)] = md5.new(tgt.text()).hexdigest()
71 rpt[str(tgt)] = md5.new(tgt.text()).hexdigest()
71 else:
72 else:
72 modded.append(tgt)
73 modded.append(tgt)
General Comments 0
You need to be logged in to leave comments. Login now