From 94feaa5faf9568ae7cef2cee58f514e0c0feb519 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Fri, 6 Jun 2014 11:37:13 +0300 Subject: [PATCH] scripts/supybot-plugin-create: Fix #721 . * README template is now cut to two lines for easier reading in non-word wrapping text editors on normal terminal size. * README is now saved as `README.md` instead of `README.txt`. --- scripts/supybot-plugin-create | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/supybot-plugin-create b/scripts/supybot-plugin-create index 34ace2b44..f8403ff68 100644 --- a/scripts/supybot-plugin-create +++ b/scripts/supybot-plugin-create @@ -204,7 +204,8 @@ class %sTestCase(PluginTestCase): '''.lstrip() readmeTemplate = ''' -Insert a description of your plugin here, with any notes, etc. about using it. +Insert a description of your plugin here, with any notes, etc. about +using it. '''.lstrip() def main(): @@ -288,7 +289,7 @@ def main(): name)) writeFile('__init__.py', __init__Template % (copyright, name)) writeFile('test.py', testTemplate % (copyright, name, name)) - writeFile('README.txt', readmeTemplate) + writeFile('README.md', readmeTemplate) pathname = os.path.join(pathname, 'local') os.mkdir(pathname)