From fdc7d3d7fcb66ed0ad32257b03565b6d417fc4a9 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 11 Apr 2010 11:24:14 -0700 Subject: [PATCH] Fix #1098 use triple quotes in the docstrings of the generated methods --- deluge/scripts/create_plugin.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/deluge/scripts/create_plugin.py b/deluge/scripts/create_plugin.py index b8becc86b..d195fbccf 100644 --- a/deluge/scripts/create_plugin.py +++ b/deluge/scripts/create_plugin.py @@ -120,14 +120,14 @@ class Core(CorePluginBase): @export def set_config(self, config): - "sets the config dictionary" + \"\"\"Sets the config dictionary\"\"\" for key in config.keys(): self.config[key] = config[key] self.config.save() @export def get_config(self): - "returns the config dictionary" + \"\"\"Returns the config dictionary\"\"\" return self.config.config """ @@ -324,13 +324,13 @@ Copyright: }, config); %(name)sPlugin.superclass.constructor.call(this, config); }, - + onDisable: function() { - + }, - + onEnable: function() { - + } }); new %(name)sPlugin();