Author: jacob
Date: 2007-09-07 13:39:10 -0500 (Fri, 07 Sep 2007)
New Revision: 6061

Modified:
   djangoproject.com/django_website/apps/aggregator/bin/mark_defunct_feeds.py
Log:
[django-website] small bug fix to aggregator

Modified: 
djangoproject.com/django_website/apps/aggregator/bin/mark_defunct_feeds.py
===================================================================
--- djangoproject.com/django_website/apps/aggregator/bin/mark_defunct_feeds.py  
2007-09-07 18:33:58 UTC (rev 6060)
+++ djangoproject.com/django_website/apps/aggregator/bin/mark_defunct_feeds.py  
2007-09-07 18:39:10 UTC (rev 6061)
@@ -7,7 +7,7 @@
         r = urllib2.urlopen(f.feed_url)
     except urllib2.HTTPError, e:
         if e.code == 404 or e.code == 500:
-            print "%s on %s; marking defunct" % f
+            print "%s on %s; marking defunct" % (e.code, f)
             f.is_defunct = True
             f.save()
         else:


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to