From 5c86cd2ce4c8687d04c31d78c9db109d71117bdd Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 27 Aug 2003 16:26:59 +0000 Subject: [PATCH] Changed template to wrap lines in example. --- scripts/newplugin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/newplugin.py b/scripts/newplugin.py index ab1bf1a79..d4c182b4e 100755 --- a/scripts/newplugin.py +++ b/scripts/newplugin.py @@ -44,6 +44,7 @@ Add the module docstring here. This will be used by the setup.py script. from baseplugin import * +import utils import privmsgs import callbacks @@ -56,9 +57,9 @@ def configure(onStart, afterConnect, advanced): from questions import expect, anything, something, yn onStart.append('load %s') -example = """ +example = utils.wrapLines(""" Add an example IRC session using this module here. -""" +""") class %s(%s): %s