scripts/dumpbz | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 27fbc2ee4710d7f5a28a77154255bd75faac8a44
Author: Bjoern Michaelsen <[email protected]>
Date: Thu Mar 27 15:46:47 2014 +0100
write files with proper encoding
diff --git a/scripts/dumpbz b/scripts/dumpbz
index c83e234..75a402b 100755
--- a/scripts/dumpbz
+++ b/scripts/dumpbz
@@ -162,7 +162,7 @@ class SyncWorker:
self.storage.read_config(self.config)
def __sync_bug(self, bug_id):
try:
- with open(self.storage.get_bugfilename(bug_id), 'w') as bugfile:
+ with open(self.storage.get_bugfilename(bug_id), 'w',
encoding='utf8') as bugfile:
bugfile.write(self.bzwrapper.get_bug_xml(bug_id))
time.sleep(float(self.config['DumpBz']['IdleTime'])/1000)
except Exception as e:
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits