Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0277.py @ 1542:94901070478e
plugins: added new MissingModule exceptions to plugins using third party modules
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 30 Sep 2015 17:25:09 +0200 |
parents | afa0894dcc71 |
children | 2b8a975ff712 |
comparison
equal
deleted
inserted
replaced
1541:685fad1c18e4 | 1542:94901070478e |
---|---|
29 from sat.tools import xml_tools | 29 from sat.tools import xml_tools |
30 from sat.tools import sat_defer | 30 from sat.tools import sat_defer |
31 | 31 |
32 # XXX: tmp.pubsub is actually use instead of wokkel version | 32 # XXX: tmp.pubsub is actually use instead of wokkel version |
33 from wokkel import pubsub | 33 from wokkel import pubsub |
34 from feed.date import rfc3339 | 34 try: |
35 from feed.date import rfc3339 | |
36 except ImportError: | |
37 raise exceptions.MissingModule(u"Missing module pyfeed, please download/install it from http://home.avvanta.com/~steveha/pyfeed.html") | |
35 import uuid | 38 import uuid |
36 import time | 39 import time |
37 import urlparse | 40 import urlparse |
38 import urllib | 41 import urllib |
39 | 42 |