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