# HG changeset patch # User Changaco # Date 1344092337 -7200 # Node ID 96e2d5ffcd231b23491aafea15be4f65182bb4c1 # Parent 5bb7c2939da055f56f23feb0b0f1a8fb3093e0b9 remove double feed parsing Signed-off-by: Changaco diff --git a/feed-push b/feed-push --- a/feed-push +++ b/feed-push @@ -157,10 +157,9 @@ def handle_feed_change(path, event): if path not in path_to_feed_fd: if event in [gamin.GAMCreated, gamin.GAMExists, gamin.GAMChanged]: try: - feed_fd = path_to_feed_fd[path] = open(path) + path_to_feed_fd[path] = open(path) except IOError as e: return log('failed to open "'+path+'": '+str(e)) - feed = feedparser.parse(feed_fd.read()) handle_feed_change(path, gamin.GAMChanged) else: ignore_event(path, event)