enable po/check_po to work on older machines
This commit is contained in:
parent
19ab02a4f9
commit
cd2db0b267
@ -294,6 +294,9 @@ class Msgid:
|
||||
( self.nr, self.lineno, self.is_fuzzy and " (fuzzy)" or "" ))
|
||||
sys.stdout.write( ''.join( self._msgid ) )
|
||||
sys.stdout.write( ''.join( self._msgidp ) )
|
||||
if sys.version_info[0] < 3:
|
||||
sys.stdout.write(''.join(self._msgstr).encode('utf-8'))
|
||||
else:
|
||||
sys.stdout.write( ''.join( self._msgstr ) )
|
||||
|
||||
def add_msgid( self, line, lineno ):
|
||||
|
Loading…
Reference in New Issue
Block a user