Philipp Hörist pushed to branch master at gajim / gajim
Commits:
28045e9d by Philipp Hörist at 2017-08-23T23:29:38+02:00
Resolver: Raise correct error
- - - - -
1 changed file:
- gajim/common/resolver.py
Changes:
=====================================
gajim/common/resolver.py
=====================================
--- 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
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/28045e9d36b2061a7949d77bda98cc8120279a12
---
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/28045e9d36b2061a7949d77bda98cc8120279a12
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits