From c90906c968faebd84ed82f7e70129e2cc07de17a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 19 Sep 2020 19:12:49 +0200 Subject: [PATCH] outposts: fix formatting --- passbook/outposts/models.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/passbook/outposts/models.py b/passbook/outposts/models.py index 7453bc6c6..21a53bc02 100644 --- a/passbook/outposts/models.py +++ b/passbook/outposts/models.py @@ -121,7 +121,11 @@ class Outpost(models.Model): 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}