diff --git a/diracx-core/src/diracx/core/config/__init__.py b/diracx-core/src/diracx/core/config/__init__.py index 6fed03fe..a2f7e70e 100644 --- a/diracx-core/src/diracx/core/config/__init__.py +++ b/diracx-core/src/diracx/core/config/__init__.py @@ -159,7 +159,9 @@ def latest_revision(self) -> tuple[str, datetime]: ).strip() modified = datetime.fromtimestamp(int(commit_info), tz=timezone.utc) except sh.ErrorReturnCode as e: - raise BadConfigurationVersionError(f"Error parsing latest revision: {e}") from e + raise BadConfigurationVersionError( + f"Error parsing latest revision: {e}" + ) from e logger.debug("Latest revision for %s is %s with mtime %s", self, rev, modified) return rev, modified