3428: When running with pythonw.exe, Windows may crash if you write to stdout

svn: r14396
This commit is contained in:
Doug Blank
2010-02-16 02:18:24 +00:00
parent 7f1c3f0e70
commit 7f5e91d9ea
10 changed files with 138 additions and 165 deletions

View File

@@ -40,7 +40,7 @@ import codecs
#
#------------------------------------------------------------------------
import logging
log = logging.getLogger(".ExportCSV")
LOG = logging.getLogger(".ExportCSV")
#-------------------------------------------------------------------------
#
@@ -309,8 +309,8 @@ class CSVWriter(object):
if self.include_children:
self.total += len(self.flist)
########################
print "Possible people to export:", len(self.plist)
print "Possible families to export:", len(self.flist)
LOG.debug("Possible people to export: %s", len(self.plist))
LOG.debug("Possible families to export: %s", len(self.flist))
########################### sort:
sortorder = []
for key in self.plist: