From 5fe4730dcb2140da9e9828296720effabce42f43 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 14 Mar 2005 02:16:34 +0000 Subject: [PATCH] Added __url__ to the default stuff generated by supybot-newplugin. --- scripts/supybot-newplugin | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/supybot-newplugin b/scripts/supybot-newplugin index bbccd6a28..7bf147383 100644 --- a/scripts/supybot-newplugin +++ b/scripts/supybot-newplugin @@ -150,6 +150,9 @@ __author__ = supybot.authors.unknown # contributions. __contributors__ = {} +# This is a url where the most recent plugin package can be downloaded. +__url__ = '' # 'http://supybot.com/Members/yourname/%s/download' + import config import plugin reload(plugin) # In case we\'re being reloaded. @@ -255,7 +258,7 @@ def main(): writeFile('plugin.py', pluginTemplate % (copyright, name, name, threaded, name)) writeFile('config.py', configTemplate % (copyright, name, name, name, name)) - writeFile('__init__.py', __init__Template % copyright) + writeFile('__init__.py', __init__Template % (copyright, name)) writeFile('test.py', testTemplate % (copyright, name, name)) writeFile('README.txt', readmeTemplate)