Added commented code that points out screwed up pairs.

This commit is contained in:
Steven Panek 2010-06-22 00:30:52 +00:00
parent 4bb4eac61f
commit 798245e3c1

View file

@ -817,6 +817,10 @@ if __name__ == '__main__':
after = before
decommented = re.sub("#.*", "", before)
for (domain, fixes) in stringfixes.items():
# In case of screwed-up pairs that are hard to find, uncomment the following:
#for fix in fixes:
# if len(fix) != 2:
# print fix
for (old, new) in fixes:
if old is new:
#complain loudly