diff FeedUpdater.py @ 108:e50d446f9942 python3

updates fro python3
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 29 Mar 2011 03:17:30 +0200
parents b2a51c24f209
children
line wrap: on
line diff
--- a/FeedUpdater.py	Thu Mar 17 02:56:56 2011 +0100
+++ b/FeedUpdater.py	Tue Mar 29 03:17:30 2011 +0200
@@ -13,7 +13,7 @@
     for feed in allFeeds:
         try:
             FeedUpdater(session, feed).update()
-        except FeedUpdateException, fue:
+        except FeedUpdateException as fue:
             log.warn("problems while updating feed " + feed.rss_url + ": " + str(fue))
         session.commit()