@@ -40,7 +40,7 @@ def _sendTransferHeader(self, actionName, fileInfo):
4040 self ._disconnect (trid )
4141 return S_ERROR (f"Cound not request transfer: { str (e )} " )
4242
43- def sendFile (self , filename , fileId , token = "" ):
43+ def sendFile (self , filename , fileId , token = "" ): # nosec B107
4444 """
4545 Send a file to server
4646
@@ -74,7 +74,7 @@ def sendFile(self, filename, fileId, token=""):
7474 fileHelper .oFile .close ()
7575 self ._disconnect (trid )
7676
77- def receiveFile (self , filename , fileId , token = "" ):
77+ def receiveFile (self , filename , fileId , token = "" ): # nosec B107
7878 """
7979 Receive a file from the server
8080
@@ -117,7 +117,7 @@ def __checkFileList(self, fileList):
117117 bogusEntries .append (entry )
118118 return bogusEntries
119119
120- def sendBulk (self , fileList , bulkId , token = "" , compress = True , bulkSize = - 1 , onthefly = True ):
120+ def sendBulk (self , fileList , bulkId , token = "" , compress = True , bulkSize = - 1 , onthefly = True ): # nosec B107
121121 """
122122 Send a bulk of files to server
123123
@@ -154,7 +154,7 @@ def sendBulk(self, fileList, bulkId, token="", compress=True, bulkSize=-1, onthe
154154 finally :
155155 self ._disconnect (trid )
156156
157- def receiveBulk (self , destDir , bulkId , token = "" , compress = True ):
157+ def receiveBulk (self , destDir , bulkId , token = "" , compress = True ): # nosec B107
158158 """
159159 Receive a bulk of files from server
160160
@@ -188,7 +188,7 @@ def receiveBulk(self, destDir, bulkId, token="", compress=True):
188188 finally :
189189 self ._disconnect (trid )
190190
191- def listBulk (self , bulkId , token = "" , compress = True ):
191+ def listBulk (self , bulkId , token = "" , compress = True ): # nosec B107
192192 """
193193 List the contents of a bulk
194194
0 commit comments