Ticket #10234: makemessages.py.diff

File makemessages.py.diff, 402 bytes (added by Peter Bengtsson, 16 years ago)

belongs in django/core/management/commands/

Line 
1148c148,152
2< open(os.path.join(dirpath, thefile), "w").write(templatize(src))
3---
4> try:
5> open(os.path.join(dirpath, thefile), "w").write(templatize(src))
6> except SyntaxError, msg:
7> msg = "%s (file: %s)" % (msg, os.path.join(dirpath, file))
8> raise SyntaxError(msg)
Back to Top