+2014-01-30 Christian Weiske <cweiske@cweiske.de>
+
+ * Support older dreamboxes (e.g. 7025+) that don't have a
+ recent elementtree library.
+
2013-09-02 Christian Weiske <cweiske@cweiske.de>
* Add support for loading local files via "file://" URLs
# License: GPLv3 or later
from twisted.web.client import getPage
-from xml.etree.cElementTree import fromstring, ParseError
+from xml.etree.cElementTree import fromstring
import os
""" Parse atom feed data into pages list and run callback """
try:
xml = fromstring(data)
- except ParseError:
+ except Exception:
return self.errorCallback("Invalid XML")
pages = []