diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2015-08-06 21:54:51 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2015-08-11 23:29:29 +0200 |
commit | 196543a7065805c8e0fb6b7fe0eef75afef33690 (patch) | |
tree | 4fa0f42b7e0e293a7cc0c30c4795db3c578ca348 /plugin_registry.py | |
parent | 760da7a3bcb3560b13d5f8691e0ba0fdf2bacfea (diff) | |
download | clufter-196543a7065805c8e0fb6b7fe0eef75afef33690.tar.gz clufter-196543a7065805c8e0fb6b7fe0eef75afef33690.tar.xz clufter-196543a7065805c8e0fb6b7fe0eef75afef33690.zip |
utils: try avoiding clash of special keys in kwargs
...in filterdict_* lambdas where (now) _fn_ is a special key.
Also adjust the callers where needed.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'plugin_registry.py')
-rw-r--r-- | plugin_registry.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_registry.py b/plugin_registry.py index 860855c..772f619 100644 --- a/plugin_registry.py +++ b/plugin_registry.py @@ -284,7 +284,7 @@ class PluginManager(object): to_discover.difference_update(ret.iterkeys()) native_plugins = registry.native_plugins ret.update(filterdict_remove(to_discover, - fn=lambda x: native_plugins[x], + _fn_=lambda x: native_plugins[x], *native_plugins.keys())) to_discover = apply_intercalate(tuple(to_discover)) if to_discover: |