Marko Kevac has proposed merging lp:~mkevac/gtg/anonymizer_unicode_fix into 
lp:gtg.

Requested reviews:
  Gtg developers (gtg)


fixed error with unicode in anonymizer script
-- 
https://code.launchpad.net/~mkevac/gtg/anonymizer_unicode_fix/+merge/27368
Your team Gtg developers is requested to review the proposed merge of 
lp:~mkevac/gtg/anonymizer_unicode_fix into lp:gtg.
=== modified file 'scripts/anonymize_task_file.py'
--- scripts/anonymize_task_file.py	2010-06-11 13:16:18 +0000
+++ scripts/anonymize_task_file.py	2010-06-11 14:52:29 +0000
@@ -60,7 +60,7 @@
 
     try:
         fp = open(outputfile, "w")
-        fp.write(dom.toxml())
+        fp.write(dom.toxml().encode("utf8"))
     except Exception, err:
         print "error while saving output file: %s" % err
 

_______________________________________________
Mailing list: https://launchpad.net/~gtg
Post to     : gtg@lists.launchpad.net
Unsubscribe : https://launchpad.net/~gtg
More help   : https://help.launchpad.net/ListHelp

Reply via email to