mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-05 05:34:22 -07: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):
|
def add_directory(self, directory, with_subdir=False):
|
||||||
''' Adds an additional directory to the search path '''
|
''' Adds an additional directory to the search path '''
|
||||||
|
|
||||||
self._paths = None
|
|
||||||
directory = os.path.realpath(directory)
|
directory = os.path.realpath(directory)
|
||||||
|
|
||||||
if directory is not None:
|
if directory is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue