From 28045e9d36b2061a7949d77bda98cc8120279a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Wed, 23 Aug 2017 23:29:38 +0200 Subject: [PATCH] Resolver: Raise correct error --- gajim/common/resolver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/common/resolver.py b/gajim/common/resolver.py index b953e7f87..e235c38c6 100644 --- a/gajim/common/resolver.py +++ b/gajim/common/resolver.py @@ -96,7 +96,7 @@ class GioResolver(CommonResolver): if type_ == 'txt': # TXT record resolution isn't used anywhere at the moment so # implementing it here isn't urgent - raise NotImplemented("Gio resolver does not currently implement TXT records") + raise NotImplementedError("Gio resolver does not currently implement TXT records") else: callback = functools.partial(self._on_ready_srv, host) type_ = Gio.ResolverRecordType.SRV