This commit is contained in:
@@ -4,6 +4,7 @@ import time
|
||||
import typing
|
||||
|
||||
from failure import Failure
|
||||
from loop_state.paths import state_folder
|
||||
from text_files import utc_stamp
|
||||
|
||||
# Says that one step of a cut finished, as `saying` makes it.
|
||||
@@ -14,8 +15,7 @@ Clock = typing.Callable[[], float]
|
||||
|
||||
def trace_folder(env: typing.Mapping[str, str], home: pathlib.Path) -> pathlib.Path:
|
||||
"""The folder each cut keeps its trace in, under the state folder as run-heavy finds it."""
|
||||
state = env.get("XDG_STATE_HOME") or str(home / ".local" / "state")
|
||||
return pathlib.Path(state) / "deploy-release"
|
||||
return state_folder(env, home) / "deploy-release"
|
||||
|
||||
|
||||
def run_name(began: float, pid: int) -> str:
|
||||
|
||||
Reference in New Issue
Block a user