summaryrefslogtreecommitdiffstats
path: root/plugin_registry.py
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2015-08-06 21:54:51 +0200
committerJan Pokorný <jpokorny@redhat.com>2015-08-11 23:29:29 +0200
commit196543a7065805c8e0fb6b7fe0eef75afef33690 (patch)
tree4fa0f42b7e0e293a7cc0c30c4795db3c578ca348 /plugin_registry.py
parent760da7a3bcb3560b13d5f8691e0ba0fdf2bacfea (diff)
downloadclufter-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.py2
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: