﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2218	AttributeError in syndication/feeds.py	jvinet@…	Jacob	"I've set up a basic feed for news updates, but when trying to access it, I get an AttributeError: 'NoneType' object has no attribute 'startswith'.

This fixes it for me:

--- feeds.py.old        2006-06-22 20:41:57.000000000 -0700
+++ feeds.py    2006-06-22 20:42:01.000000000 -0700
@@ -5,7 +5,7 @@
 from django.conf import settings

 def add_domain(domain, url):
-    if not url.startswith('http://'):
+    if url and not url.startswith('http://'):
         url = u'http://%s%s' % (domain, url)
     return url


Not sure if I've set something up wrong or not, but with this patch, the feed works as expected.

I'm running off the latest SVN revision."	defect	closed	Documentation	dev	normal	duplicate	feed		Unreviewed	0	0	0	0	0	0
