@@ -5854,7 +5854,7 @@ def AppendFilesWithContentFromInFile(infile, fp, listtype="dir", extradata=[], j
58545854 if (not hasattr (fp , "write" )):
58555855 return False
58565856 if (listtype .lower ()== "dir" ):
5857- GetDirList = AppendFilesWithContentToList (infile , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , [checksumtype [2 ], checksumtype [3 ], checksumtype [3 ]], formatspecs , saltkey , verbose )
5857+ GetDirList = AppendFilesWithContentToList (infile , False , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , False , [checksumtype [2 ], checksumtype [3 ], checksumtype [3 ]], formatspecs , saltkey , verbose )
58585858 elif (listtype .lower ()== "tar" ):
58595859 GetDirList = AppendFilesWithContentFromTarFileToList (infile , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , [checksumtype [2 ], checksumtype [3 ], checksumtype [3 ]], formatspecs , saltkey , verbose )
58605860 elif (listtype .lower ()== "bsd" ):
@@ -5866,7 +5866,7 @@ def AppendFilesWithContentFromInFile(infile, fp, listtype="dir", extradata=[], j
58665866 elif (listtype .lower ()== "7zip" ):
58675867 GetDirList = AppendFilesWithContentFromSevenZipFileToList (infile , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , [checksumtype [2 ], checksumtype [3 ], checksumtype [3 ]], formatspecs , saltkey , verbose )
58685868 elif (listtype .lower ()== "infile" ):
5869- GetDirList = AppendReadInFileWithContentToList (infile , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , [ checksumtype [ 2 ], checksumtype [ 3 ], checksumtype [ 3 ]], formatspecs , saltkey , verbose )
5869+ GetDirList = ReadInFileWithContentToList (infile , "auto" , 0 , 0 , 0 , False , False , True , False , formatspecs , saltkey , False )
58705870 else :
58715871 GetDirList = AppendFilesWithContentToList (infile , extradata , jsondata , False , compression , compresswholefile , compressionlevel , compressionuselist , [checksumtype [2 ], checksumtype [3 ], checksumtype [3 ]], formatspecs , saltkey , verbose )
58725872 numfiles = int (len (GetDirList ))
0 commit comments