From 08f55175bc8832e946e9b661f39e0749b8921491 Mon Sep 17 00:00:00 2001 From: Brice Gros Date: Tue, 22 Oct 2024 11:31:49 +0200 Subject: [PATCH] Fix typo --- src/nsupdate/main/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsupdate/main/models.py b/src/nsupdate/main/models.py index 6ef8e4c1..fbe3ae45 100644 --- a/src/nsupdate/main/models.py +++ b/src/nsupdate/main/models.py @@ -301,7 +301,7 @@ def get_by_http_user(cls, username, **kwargs): return None except Host.MultipleObjectsReturned: # should not happen, see Host.http_user should have unique=True - raise ValueError("get_by_http_user(%s) found more than 1 host" % fqdn) + raise ValueError("get_by_http_user(%s) found more than 1 host" % username) else: return host