comment out problematic check for the moment
This commit is contained in:
parent
6223cd5d66
commit
b1db96ba95
1 changed files with 3 additions and 2 deletions
|
@ -295,8 +295,9 @@ if __name__ == '__main__':
|
|||
#complain loudly
|
||||
print "pofix: old string\n\t\"%s\"\n equals new string\n\t\"%s\"\nexiting." % (old, new)
|
||||
sys.exit(1)
|
||||
elif new in after and old in after:
|
||||
print "pofix: %s has a msgid \n\t\"%s\"\nand a typoed version \n\t\"%s\"\nthis needs handfixing for now." % (path, old, new)
|
||||
#this check is problematic and breaks if 'new' is an exact substring of 'old', commenting it out for the moment
|
||||
#elif new in after and old in after:
|
||||
# print "pofix: %s has a msgid \n\t\"%s\"\nand a typoed version \n\t\"%s\"\nthis needs handfixing for now." % (path, old, new)
|
||||
else:
|
||||
after = after.replace(old, new)
|
||||
if after != before:
|
||||
|
|
Loading…
Add table
Reference in a new issue