summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Jones <richard@mechanicalcat.net>2013-01-24 10:12:56 +1100
committerRichard Jones <richard@mechanicalcat.net>2013-01-24 10:12:56 +1100
commitd8c377f76c9e3393647d4a851832adac08999b87 (patch)
treeb746968eac39313d1a54d8f3356965b1e091dfd0
parent4fcf15e6c6b289944c3cd8d5e195ee3bf9a2a5b4 (diff)
downloaddecorator-d8c377f76c9e3393647d4a851832adac08999b87.tar.gz
regen the rss on new package upload too (since it can do a register)
-rw-r--r--templates/rss.xml4
-rw-r--r--webui.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/rss.xml b/templates/rss.xml
index e66ef2c..5595efe 100644
--- a/templates/rss.xml
+++ b/templates/rss.xml
@@ -4,9 +4,9 @@
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal">
<channel>
- <title><tal:x tal:replace="test" />PyPI recent updates</title>
+ <title><tal:x tal:replace="test" />PyPI Recent Updates</title>
<link tal:content="string:${app/url_machine}${app/url_path}" />
- <description>Updates to the <tal:x tal:replace="test" />Python Package Index</description>
+ <description>Recent updates to the <tal:x tal:replace="test" />Python Package Index</description>
<language>en</language>
<item tal:repeat="release app/store/latest_releases">
diff --git a/webui.py b/webui.py
index df39407..a899e28 100644
--- a/webui.py
+++ b/webui.py
@@ -607,7 +607,7 @@ class WebUI:
#raise NotFound, 'Unknown action %s' % action
raise NotFound
- if action in 'submit submit_pkg_info pkg_edit remove_pkg'.split():
+ if action in 'upload submit submit_pkg_info pkg_edit remove_pkg'.split():
self.rss_regen()
# commit any database changes