Module: deluge Branch: master Commit: fdc7d3d7fcb66ed0ad32257b03565b6d417fc4a9
Author: Andrew Resch <[email protected]> Date: Sun Apr 11 11:24:14 2010 -0700 Fix #1098 use triple quotes in the docstrings of the generated methods --- deluge/scripts/create_plugin.py | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deluge/scripts/create_plugin.py b/deluge/scripts/create_plugin.py index b8becc8..d195fbc 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(); -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
