From 8f35681843b922c905a10d7c74b30859cff88346 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 6 Dec 1999 02:46:49 +0000 Subject: [PATCH] Added \" to escapes so embedded escaped double quotes are handled correctly. Patch suggested by Mads Kiilerich . --- Tools/i18n/pygettext.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/i18n/pygettext.py b/Tools/i18n/pygettext.py index f8567e9c94c..fcd6b9512d3 100755 --- a/Tools/i18n/pygettext.py +++ b/Tools/i18n/pygettext.py @@ -137,6 +137,7 @@ def usage(code, msg=''): escapes[ord('\t')] = '\\t' escapes[ord('\r')] = '\\r' escapes[ord('\n')] = '\\n' +escapes[ord('\"')] = '\\"' def escape(s): s = list(s)