mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 16:15:29 +00:00
Apply formatter, fix spelling
This commit is contained in:
1 parent
3d9b953ac6
commit
673f657dcc
2 files changed
+1
-2
No files matched your search
@@ -2,7 +2,6 @@ import logging
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import sys
|
||||
from collections.abc import Iterator, Sequence
|
||||
from pathlib import Path
|
||||
from typing import Literal
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Regression: ``~/.serena/serena_config.yml`` was corrupted in the field when a non-atomic
|
||||
truncate-and-write saved a SHORTER value over a longer existing file (or two Serena processes
|
||||
saved concurrently), leaving a stale tail (e.g. a dangling ``ena`` line) that made the YAML
|
||||
unparseable, which wedged every later load. ``save_yaml`` now writes to a temp file and
|
||||
unparsable, which wedged every later load. ``save_yaml`` now writes to a temp file and
|
||||
``os.replace``s it onto the target, so each write is all-or-nothing.
|
||||
"""
|
||||
|
||||
|
||||
Reference in new issue
Block a user