280 if self.isValidPluginName(f)] |
280 if self.isValidPluginName(f)] |
281 return pluginFiles[:] |
281 return pluginFiles[:] |
282 |
282 |
283 def isValidPluginName(self, pluginName): |
283 def isValidPluginName(self, pluginName): |
284 """ |
284 """ |
285 Public methode to check, if a file name is a valid plugin name. |
285 Public method to check, if a file name is a valid plugin name. |
286 |
286 |
287 Plugin modules must start with "Plugin" and have the extension ".py". |
287 Plugin modules must start with "Plugin" and have the extension ".py". |
288 |
288 |
289 @param pluginName name of the file to be checked (string) |
289 @param pluginName name of the file to be checked (string) |
290 @return flag indicating a valid plugin name (boolean) |
290 @return flag indicating a valid plugin name (boolean) |