changeset 342:2ee7dc04836c trunk

Fixed a bug in pofile (in_msgctxt was not defined). Test follows.
author aronacher
date Mon, 16 Jun 2008 09:53:44 +0000
parents 83b9642c4d69
children 9c718e8af219
files babel/messages/pofile.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/babel/messages/pofile.py
+++ b/babel/messages/pofile.py
@@ -139,6 +139,7 @@
     context = []
     in_msgid = [False]
     in_msgstr = [False]
+    in_msgctxt = [False]
 
     def _add_message():
         translations.sort()
Copyright (C) 2012-2017 Edgewall Software