diff --git a/passbook/outposts/models.py b/passbook/outposts/models.py index 7453bc6c6682..21a53bc020a2 100644 --- a/passbook/outposts/models.py +++ b/passbook/outposts/models.py @@ -121,7 +121,11 @@ def deployment_version(self) -> Dict[str, Any]: return {"version": "", "outdated": False, "should": OUR_VERSION} try: outpost_version = parse(value) - return {"version": value, "outdated": outpost_version < OUR_VERSION, "should": OUR_VERSION} + return { + "version": value, + "outdated": outpost_version < OUR_VERSION, + "should": OUR_VERSION, + } except InvalidVersion: return {"version": version, "outdated": False, "should": OUR_VERSION}