Fix #1098 use triple quotes in the docstrings of the generated methods

This commit is contained in:
Andrew Resch 2010-04-11 11:24:14 -07:00
parent 35dfcf3a77
commit fdc7d3d7fc

View File

@ -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();