Make pofix touch .pot files too, so changes don't get reverted by pot-update.

This commit is contained in:
Alexander van Gessel 2009-02-04 14:46:42 +01:00
parent 747734cc79
commit 1bff4d2101

View file

@ -153,7 +153,7 @@ if __name__ == '__main__':
modified = 0
pocount = 0
for path in sys.argv[1:]:
if not path.endswith(".po"):
if not path.endswith(".po") and not path.endswith(".pot"):
continue
try:
pocount += 1