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

This reverts commit 5a57313dd7.
pull/17789/head
Matt Clay 8 years ago committed by GitHub
parent 5a57313dd7
commit 670536f685

@ -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=''):

Loading…
Cancel
Save