summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2016-03-21 08:39:57 -0700
committerToshio Kuratomi <toshio@fedoraproject.org>2016-03-21 09:54:37 -0700
commit7ce130212fe34b1fa5c0753f0ca25869081f83fb (patch)
treeae84816fde25986404b7a3a9b9a47cc65c4fbbc1 /docs
parent407f8f934e1dc0b31a2e97298acb68bdb8d29987 (diff)
downloadansible-pluginloader-cleanups.tar.gz
Cleanup some minor issues in PluginLoader:pluginloader-cleanups
* class_only was a keyword arg of get() and all() that was mistakenly passed on to Plugins. Be sure to strip it from the keyword args before instantiating Plugins. (Reworked API probably should either not instantiate Plugins or take the args for the Plugin as a separate list and a dict.) * Checking required base_classes was only done in get() and only if class_only was False (ie: that Plugin was instantiated). This meant that different plugins could be found depending on whether the call was to .get() or to all() and whether it was for classes or instances. Fixed so that required base_classes are always checked.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions