@@ -5848,7 +5848,7 @@ def AppendFilesWithContentFromInFile(infile, fp, listtype="dir", extradata=[], j
58485848 if (not hasattr (fp , "write" )):
58495849 return False
58505850 if (listtype .lower ()== "dir" ):
5851- GetDirList = AppendFilesWithContentToList (infile , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , [checksumtype [2 ], checksumtype [3 ], checksumtype [3 ]], formatspecs , saltkey , verbose )
5851+ GetDirList = AppendFilesWithContentToList (infile , False , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , False , [checksumtype [2 ], checksumtype [3 ], checksumtype [3 ]], formatspecs , saltkey , verbose )
58525852 elif (listtype .lower ()== "tar" ):
58535853 GetDirList = AppendFilesWithContentFromTarFileToList (infile , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , [checksumtype [2 ], checksumtype [3 ], checksumtype [3 ]], formatspecs , saltkey , verbose )
58545854 elif (listtype .lower ()== "bsd" ):
@@ -5860,7 +5860,7 @@ def AppendFilesWithContentFromInFile(infile, fp, listtype="dir", extradata=[], j
58605860 elif (listtype .lower ()== "7zip" ):
58615861 GetDirList = AppendFilesWithContentFromSevenZipFileToList (infile , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , [checksumtype [2 ], checksumtype [3 ], checksumtype [3 ]], formatspecs , saltkey , verbose )
58625862 elif (listtype .lower ()== "infile" ):
5863- GetDirList = AppendReadInFileWithContentToList (infile , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , [ checksumtype [ 2 ], checksumtype [ 3 ], checksumtype [ 3 ]], formatspecs , saltkey , verbose )
5863+ GetDirList = ReadInFileWithContentToList (infile , "auto" , 0 , 0 , 0 , False , False , True , False , formatspecs , saltkey , False )
58645864 else :
58655865 GetDirList = AppendFilesWithContentToList (infile , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , [checksumtype [2 ], checksumtype [3 ], checksumtype [3 ]], formatspecs , saltkey , verbose )
58665866 numfiles = int (len (GetDirList ))
0 commit comments