From 8dfad632f333fe5c1da1d6fe092b292f2c6aacbd Mon Sep 17 00:00:00 2001 From: dbs Date: Thu, 9 Jul 2009 03:19:31 +0000 Subject: [PATCH] The introduction of codecs broke this script. Fun! git-svn-id: svn://svn.open-ils.org/ILS/trunk@13551 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- build/i18n/scripts/merge_ils_events.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/i18n/scripts/merge_ils_events.py b/build/i18n/scripts/merge_ils_events.py index 4a91bbbec6..0e884551c7 100755 --- a/build/i18n/scripts/merge_ils_events.py +++ b/build/i18n/scripts/merge_ils_events.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -import codecs import xml.dom.minidom import optparse @@ -77,7 +76,7 @@ def main(): merged = merge_events(options.master, options.localization) if options.outfile: - outfile = codecs.open(options.outfile, encoding='utf-8', mode='w') + outfile = open(options.outfile, 'w') if options.pretty: outfile.write(merged.toprettyxml(encoding='utf-8')) else: -- 2.11.0