Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Log a little bit less.

  • Loading branch information...
commit 7c6f782ef9f230a69794ffdcf9805e8700391d0d 1 parent b3e4720
@jacobian jacobian authored
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,7 +94,7 @@ 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
@@ -102,7 +102,7 @@ def update_feed(self, feed):
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)
Please sign in to comment.
Something went wrong with that request. Please try again.