plugins: added new MissingModule exceptions to plugins using third party modules
This commit is contained in:
parent
72b108f3a2
commit
969af13f59
1 changed files with 29 additions and 11 deletions
|
|
@ -25,7 +25,10 @@ log = getLogger(__name__)
|
|||
from wokkel import disco, iwokkel
|
||||
from zope.interface import implements
|
||||
# from lxml import etree
|
||||
from lxml import html
|
||||
try:
|
||||
from lxml import html
|
||||
except ImportError:
|
||||
raise exceptions.MissingModule(u"Missing module lxml, please download/install it from http://lxml.de/")
|
||||
try:
|
||||
from twisted.words.protocols.xmlstream import XMPPHandler
|
||||
except ImportError:
|
||||
|
|
|
|||
Loading…
Reference in a new issue