1
0
Fork 0
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:
James Cammarata 2014-09-30 09:43:40 -05:00
parent cf548baeab
commit 05994cd900

View file

@ -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: