Revert "Path of group_vars and host_vars were getting the basedir added twice."

in view of simpler solution incomming from james
This reverts commit bae7a02be5.
This commit is contained in:
Brian Coca 2015-08-06 10:09:43 -04:00
commit b9433650d1
3 changed files with 4 additions and 12 deletions

View file

@ -112,19 +112,15 @@ class DataLoader():
return parsed_data
def path_exists(self, path):
path = self.path_dwim(path)
return os.path.exists(path)
def is_file(self, path):
path = self.path_dwim(path)
return os.path.isfile(path)
def is_directory(self, path):
path = self.path_dwim(path)
return os.path.isdir(path)
def list_directory(self, path):
path = self.path_dwim(path)
return os.listdir(path)
def _safe_load(self, stream, file_name=None):