Browse files

Log a little bit less.

  • Loading branch information...
1 parent b3e4720 commit 7c6f782ef9f230a69794ffdcf9805e8700391d0d @jacobian jacobian committed Jun 27, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 django_website/aggregator/management/commands/update_feeds.py
View
6 django_website/aggregator/management/commands/update_feeds.py
@@ -94,15 +94,15 @@ def run(self):
self.q.task_done()
def update_feed(self, feed):
- self.log.debug('Starting update: %s (%s)' % (feed, feed.feed_url))
+ self.log.debug('Starting update: %s.' % feed)
if self.verbose:
print feed
try:
socket.setdefaulttimeout(15)
parsed_feed = feedparser.parse(feed.feed_url)
except Exception:
- self.log.exception('Error updating %s (%s)' % (feed, feed.feed_url))
+ self.log.exception('Error updating %s.' % feed)
return
for entry in parsed_feed.entries:
@@ -142,4 +142,4 @@ def update_feed(self, feed):
summary = content,
date_modified = date_modified
)
- self.log.debug('Done with %s (%s)' % (feed, feed.feed_url))
+ self.log.debug('Done with %s.' % feed)

0 comments on commit 7c6f782

Please sign in to comment.