)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"c4f85a4abc94ddd7cf685eb2229dc24cccfe18eb","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"8b9b884b_be98737a","updated":"2025-12-05 15:37:14.000000000","message":"make_db_file_path most definitely use epoch.normal. And so it should remain!\n\n```\ndef make_db_file_path(db_path, epoch):\n    \"\"\"\n    Given a path to a db file, return a modified path whose filename part has\n    the given epoch.\n\n    A db filename takes the form ``\u003chash\u003e[_\u003cepoch\u003e].db``; this method replaces\n    the ``\u003cepoch\u003e`` part of the given ``db_path`` with the given ``epoch``\n    value, or drops the epoch part if the given ``epoch`` is ``None``.\n\n    :param db_path: Path to a db file that does not necessarily exist.\n    :param epoch: A string (or ``None``) that will be used as the epoch\n        in the new path\u0027s filename; non-``None`` values will be\n        normalized to the normal string representation of a\n        :class:`~swift.common.utils.Timestamp`.\n    :return: A modified path to a db file.\n    :raises ValueError: if the ``epoch`` is not valid for constructing a\n        :class:`~swift.common.utils.Timestamp`.\n    \"\"\"\n    hash_, _, ext \u003d parse_db_filename(db_path)\n    db_dir \u003d os.path.dirname(db_path)\n    if epoch is None:\n        return os.path.join(db_dir, hash_ + ext)\n    epoch \u003d Timestamp(epoch).normal\n    return os.path.join(db_dir, \u0027%s_%s%s\u0027 % (hash_, epoch, ext))\n\n```","commit_id":"cfec4faddfd8b17bd194948add80c405f4dbef75"}]}
