Helpviewer/Network/FtpReply.py

branch
maintenance
changeset 6923
d062df8f1d9f
parent 6891
93f82da09f22
equal deleted inserted replaced
6827:14680839ad7a 6923:d062df8f1d9f
192 if self.__content.size(): 192 if self.__content.size():
193 len_ = min(maxlen, self.__content.size()) 193 len_ = min(maxlen, self.__content.size())
194 buffer = bytes(self.__content[:len_]) 194 buffer = bytes(self.__content[:len_])
195 self.__content.remove(0, len_) 195 self.__content.remove(0, len_)
196 return buffer 196 return buffer
197 else:
198 return b""
197 199
198 def __doFtpCommands(self): 200 def __doFtpCommands(self):
199 """ 201 """
200 Private slot doing the sequence of FTP commands to get the requested 202 Private slot doing the sequence of FTP commands to get the requested
201 result. 203 result.

eric ide

mercurial