mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Hopefully this will keep us from having any new plugins with no __revision__
variable.
This commit is contained in:
parent
6a211adb42
commit
90718f0e8c
@ -50,6 +50,8 @@ template = '''
|
|||||||
Add the module docstring here. This will be used by the setup.py script.
|
Add the module docstring here. This will be used by the setup.py script.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
__revision__ = "$%s$"
|
||||||
|
|
||||||
import plugins
|
import plugins
|
||||||
|
|
||||||
import conf
|
import conf
|
||||||
@ -151,7 +153,7 @@ def main():
|
|||||||
|
|
||||||
python = os.path.normpath(sys.executable)
|
python = os.path.normpath(sys.executable)
|
||||||
fd = file(name + '.py', 'w')
|
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()
|
fd.close()
|
||||||
print 'Your new plugin template is %s.py.' % name
|
print 'Your new plugin template is %s.py.' % name
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user