[open-ils-commits] r13551 - trunk/build/i18n/scripts (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jul 8 23:19:33 EDT 2009
Author: dbs
Date: 2009-07-08 23:19:31 -0400 (Wed, 08 Jul 2009)
New Revision: 13551
Modified:
trunk/build/i18n/scripts/merge_ils_events.py
Log:
The introduction of codecs broke this script. Fun!
Modified: trunk/build/i18n/scripts/merge_ils_events.py
===================================================================
--- trunk/build/i18n/scripts/merge_ils_events.py 2009-07-09 03:13:15 UTC (rev 13550)
+++ trunk/build/i18n/scripts/merge_ils_events.py 2009-07-09 03:19:31 UTC (rev 13551)
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-import codecs
import xml.dom.minidom
import optparse
@@ -77,7 +76,7 @@
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:
More information about the open-ils-commits
mailing list