diff babel/messages/pofile.py @ 310:fc1fcf6b002c stable-0.9.x

Ported [343] to stable branch.
author cmlenz
date Mon, 14 Jan 2008 13:14:39 +0000
parents bedaaeadc1db
children 5e80cf8e3299
line wrap: on
line diff
--- a/babel/messages/pofile.py
+++ b/babel/messages/pofile.py
@@ -422,10 +422,10 @@
             _write('#%s\n' % ', '.join([''] + list(message.flags)))
 
         if message.previous_id and include_previous:
-            _write_comment(u'msgid %s' % _normalize(message.previous_id[0]),
+            _write_comment('msgid %s' % _normalize(message.previous_id[0]),
                            prefix='|')
             if len(message.previous_id) > 1:
-                _write_comment(u'msgid_plural %s' % _normalize(
+                _write_comment('msgid_plural %s' % _normalize(
                     message.previous_id[1]
                 ), prefix='|')
 
Copyright (C) 2012-2017 Edgewall Software