From 90718f0e8cf158e048d474bf687608605c0c1ad5 Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 19 Mar 2004 17:08:28 +0000 Subject: [PATCH] Hopefully this will keep us from having any new plugins with no __revision__ variable. --- scripts/supybot-newplugin | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/supybot-newplugin b/scripts/supybot-newplugin index 0b6bf3389..d6f679df9 100755 --- a/scripts/supybot-newplugin +++ b/scripts/supybot-newplugin @@ -50,6 +50,8 @@ template = ''' Add the module docstring here. This will be used by the setup.py script. """ +__revision__ = "$%s$" + import plugins import conf @@ -151,7 +153,7 @@ def main(): python = os.path.normpath(sys.executable) fd = file(name + '.py', 'w') - fd.write(template % (python, name, name, className, threaded, name)) + fd.write(template % (python, 'Id', name, name, className, threaded, name)) fd.close() print 'Your new plugin template is %s.py.' % name