From a867294e00addbf4a0f4426820beb07895b81441 Mon Sep 17 00:00:00 2001 From: meejah Date: Mon, 25 Oct 2021 21:12:17 -0600 Subject: [PATCH] dead --- src/allmydata/storage/expirer.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/allmydata/storage/expirer.py b/src/allmydata/storage/expirer.py index 946498eaf..254264e38 100644 --- a/src/allmydata/storage/expirer.py +++ b/src/allmydata/storage/expirer.py @@ -61,7 +61,6 @@ class _HistorySerializer(object): :return dict: the existing history state """ - assert self._path is not None, "Not initialized" with self._path.open("rb") as f: history = json.load(f) return history @@ -70,7 +69,6 @@ class _HistorySerializer(object): """ Serialize the existing data as JSON. """ - assert self._path is not None, "Not initialized" with self._path.open("wb") as f: json.dump(new_history, f) return None