Hopefully this will keep us from having any new plugins with no __revision__

variable.
This commit is contained in:
James Vega 2004-03-19 17:08:28 +00:00
parent 6a211adb42
commit 90718f0e8c

View File

@ -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