[W3af-svn-notify] [Task #148112] Reload a plugin after its edited from within the GUI
Status: Beta
Brought to you by:
andresriancho
From: SourceForge.net <no...@so...> - 2008-05-15 16:25:16
|
Task #148112 has been updated. Project: w3af Subproject: gtkUi - OWASP SoC 2008 Summary: Reload a plugin after its edited from within the GUI Complete: 0% Status: Open Authority : facundobatista Assigned to: andresriancho Description: When a plugin is edited and is saved, the GUI should alert the Core for it to reload the plugin. Andres needs to implement something in the Core for this (like a "reloadPlugin(plugintype, pluginname)" function). Follow-Ups: ------------------------------------------------------- Date: 2008-05-15 13:24 By: andresriancho Comment: >>> import pepe >>> a = pepe.a() >>> a.b('1') 1 Here I added a c method to the class >>> reload(pepe) <module 'pepe' from 'pepe.py'> >>> a.b('1') 1 >>> a.c('1') Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: a instance has no attribute 'c' >>> a = reload(pepe)() Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'module' object is not callable >>> a = reload(pepe).a() >>> a.c('1') si! >>> Hmm... it seems that this is going to be a little harder that I thought... ------------------------------------------------------- For more info, visit: http://sourceforge.net/pm/task.php?func=detailtask&project_task_id=148112&group_id=170274&group_project_id=56282 |