From 8e121bbc0d0c4894cc5ce895fe64441a86d45b7e Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org> Date: Thu, 12 Nov 2020 12:59:51 +0100 Subject: [PATCH] model.identifiers: Fix one space too many in error message Related to T2729 --- swh/model/identifiers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swh/model/identifiers.py b/swh/model/identifiers.py index c479f3ba..274cb356 100644 --- a/swh/model/identifiers.py +++ b/swh/model/identifiers.py @@ -857,7 +857,7 @@ def parse_swhid(swhid: str) -> SWHID: except Exception: raise ValidationError( "Invalid SWHID: contextual data must be a ;-separated list of " - " key=value pairs" + "key=value pairs" ) wrong_qualifiers = set(_metadata) - set(CONTEXT_QUALIFIERS) -- GitLab