Merge pull request #583 from slackhead/testing

RSS: Edit 'initialAnnounceHeadlines' from PositiveInteger to Integer to allow use of 0 (zero).
This commit is contained in:
Valentin Lorentz 2014-04-05 09:36:26 +02:00
commit 5bbdb390f4

View File

@ -97,7 +97,7 @@ conf.registerGlobalValue(RSS, 'defaultNumberOfHeadlines',
registry.PositiveInteger(1, _("""Indicates how many headlines an rss feed
will output by default, if no number is provided.""")))
conf.registerChannelValue(RSS, 'initialAnnounceHeadlines',
registry.PositiveInteger(5, _("""Indicates how many headlines an rss feed
registry.Integer(5, _("""Indicates how many headlines an rss feed
will output when it is first added to announce for a channel.""")))
conf.registerChannelValue(RSS, 'keywordWhitelist',
registry.SpaceSeparatedSetOfStrings([], _("""Space separated list of