241
241
# on unix this should be /var/crash and should already exist; on
242
242
# Windows or if it's manually configured it might need to be created,
243
243
# and then it should be private
245
245
date_string = time.strftime('%Y-%m-%dT%H:%M', time.gmtime())
246
246
# XXX: getuid doesn't work on win32, but the crash directory is per-user
247
247
if sys.platform == 'win32':