mirror of https://github.com/GNOME/gimp.git
_run should pass on the return value. Fixes bug #334874.
2006-03-17 Manish Singh <yosh@gimp.org> * plug-ins/pygimp/gimpplugin.py: _run should pass on the return value. Fixes bug #334874.
This commit is contained in:
parent
cc2923ad0b
commit
3aede25d6f
|
@ -1,3 +1,8 @@
|
|||
2006-03-17 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/gimpplugin.py: _run should pass on the return
|
||||
value. Fixes bug #334874.
|
||||
|
||||
2006-03-17 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* tools/pdbgen/pdb.pl: generically map NULL to -1 when returning
|
||||
|
|
|
@ -56,7 +56,7 @@ class plugin:
|
|||
|
||||
def _run(self, name, params):
|
||||
if hasattr(self, name):
|
||||
apply(getattr(self, name), params)
|
||||
return apply(getattr(self, name), params)
|
||||
else:
|
||||
raise AttributeError, name
|
||||
|
||||
|
|
Loading…
Reference in New Issue