]> git.openstreetmap.org Git - osqa.git/commitdiff
Fixes a bug with feeds some people have reported at meta.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 1 Jan 2011 16:26:20 +0000 (16:26 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 1 Jan 2011 16:26:20 +0000 (16:26 +0000)
http://meta.osqa.net/questions/6332/why-does-my-rss-feed-return-a-500-error

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@658 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/feed.py

index f40400979dace9481abfa42749aeb2fa77ec5c00..72e085d82408bb1160b9fddb54f9eb336d6aefbe 100644 (file)
@@ -14,7 +14,7 @@ from forum.modules import decorate
 from forum.utils.pagination import generate_uri
 
 @decorate(add_domain, needs_origin=False)
-def add_domain(domain, url):
+def add_domain(domain, url, *args, **kwargs):
     return "%s%s" % (settings.APP_URL, url)
 
 class BaseNodeFeed(Feed):