mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Don't clear paths when adding a new directory path in PluginLoader
This commit is contained in:
parent
cf548baeab
commit
05994cd900
1 changed files with 0 additions and 1 deletions
|
@ -150,7 +150,6 @@ class PluginLoader(object):
|
|||
def add_directory(self, directory, with_subdir=False):
|
||||
''' Adds an additional directory to the search path '''
|
||||
|
||||
self._paths = None
|
||||
directory = os.path.realpath(directory)
|
||||
|
||||
if directory is not None:
|
||||
|
|
Loading…
Reference in a new issue