# HG changeset patch # User Goffi # Date 1536936274 -7200 # Node ID 0bed6df9ee5df963bac1f943a6eb397b289b1884 # Parent 0fa217fafabfd984b2e874867b80d1ebb89711cf jp: fixed bad call to quit diff -r 0fa217fafabf -r 0bed6df9ee5d sat_frontends/jp/base.py --- a/sat_frontends/jp/base.py Mon Sep 10 08:58:18 2018 +0200 +++ b/sat_frontends/jp/base.py Fri Sep 14 16:44:34 2018 +0200 @@ -467,7 +467,7 @@ from lxml import etree except ImportError: self.disp(u"lxml module must be installed to use http(s) scheme, please install it with \"pip install lxml\"", error=True) - self.host.quit(1) + self.quit(1) import urllib2 parser = etree.HTMLParser() try: @@ -479,7 +479,7 @@ links = root.xpath("//link[@rel='alternate' and starts-with(@href, 'xmpp:')]") if not links: self.disp(u'Could not find alternate "xmpp:" URI, can\'t find associated XMPP PubSub node/item', error=True) - self.host.quit(1) + self.quit(1) xmpp_uri = links[0].get('href') return xmpp_uri