Revert "Clear the plugin path cache when adding new directories" (#17785)

This reverts commit 5a57313dd7.
This commit is contained in:
Matt Clay 2016-09-27 16:17:35 -07:00 committed by GitHub
parent 5a57313dd7
commit 670536f685

View file

@ -219,7 +219,6 @@ class PluginLoader:
if directory not in self._extra_dirs:
# append the directory and invalidate the path cache
self._extra_dirs.append(directory)
self._plugin_path_cache.clear()
self._paths = None
def find_plugin(self, name, mod_type=''):