Mercurial > gub
changeset 2401:80e8dc5c3e7e
MethodOverrider thinko.
author | hanwen <hanwen@lilypond.org> |
---|---|
date | Sun, 22 Oct 2006 19:06:11 +0100 |
parents | 97f8cb677ccf |
children | 23bc30c5f5d1 |
files | lib/cross.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/cross.py Sun Oct 22 19:06:01 2006 +0100 +++ b/lib/cross.py Sun Oct 22 19:06:11 2006 +0100 @@ -123,12 +123,12 @@ for p in other_packs: old_callback = p.get_build_dependencies - p.get_build_dependencies = MethodOverrider (old_callback, + p.get_build_dependencies = misc.MethodOverrider (old_callback, lambda x,y: x+y, (cross_names,)).method for p in other_packs + cross_packs: old_callback = p.get_build_dependencies - p.get_build_dependencies = MethodOverrider (old_callback, + p.get_build_dependencies = misc.MethodOverrider (old_callback, lambda x,y: x+y, (sdk_names,)).method return packs