From f0a8749553c8ab25f0152bc5bf9964c1ecfa97ba Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@cd1c1023-2f26-0410-ae45-c471fc1f0318> Date: Thu, 13 Dec 2007 14:09:59 +0000 Subject: [PATCH] fixed an issue with rssTools git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@858 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/rssTools.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libraries/rssTools.py b/libraries/rssTools.py index 5fea43425..6be20c4e1 100644 --- a/libraries/rssTools.py +++ b/libraries/rssTools.py @@ -44,11 +44,10 @@ class rssFeed: if os.path.isfile(self.file): try: self.xmldoc = minidom.parse(self.file) - except xml.parsers.expat.ExpatError: - print "DEBUG: RSS broken, recreating in 5 seconds." - print time.sleep(5) + except: + #print "DEBUG: RSS broken, recreating in 5 seconds." + #time.sleep(5) broken = True - if not os.path.isfile(self.file) or broken: self.title = feed_title