The introduction of codecs broke this script. Fun!
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 9 Jul 2009 03:19:31 +0000 (03:19 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 9 Jul 2009 03:19:31 +0000 (03:19 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13551 dcc99617-32d9-48b4-a31d-7c20da2025e4

build/i18n/scripts/merge_ils_events.py

index 4a91bbb..0e88455 100755 (executable)
@@ -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: