27,7 → 27,7 |
# registry as appropriate. |
from supybot.questions import expect, anything, something, yn |
conf.registerPlugin('Svnwatch', True) |
output('The default SVN xml URI is xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx') |
output('The default SVN xml URI is https://www.postnewspapers.com.au/cgi-bin/xmllog') |
if yn('Would you like to specify a SVN xml URI?'): |
xmluri = something('SVN XML URI?') |
conf.supybot.plugins.Svnwatch.set(xmluri) |
40,7 → 40,7 |
# conf.registerGlobalValue(Svnwatch, 'someConfigVariableName', |
# registry.Boolean(False, """Help for someConfigVariableName.""")) |
conf.registerGlobalValue(Svnwatch, 'xmluri', |
registry.String('', |
registry.String('https://www.postnewspapers.com.au/cgi-bin/xmllog', |
"""The uri for the exported SVN XML source.""")) |
conf.registerGlobalValue(Svnwatch, 'fetchPeriod', |
registry.PositiveInteger(60, """Indicates how many seconds the |