475
475
fd, name = tempfile.mkstemp(prefix="bzr_memdump", suffix=".json")
476
476
dump_file = os.fdopen(fd, 'w')
477
477
from meliae import scanner
479
479
err_file.write("Memory dumped to %s\n" % name)
481
481
err_file.write("Dumping memory requires meliae module.\n")