Helpviewer/Network/FtpReply.py

changeset 6891
93f82da09f22
parent 6645
ad476851d7e0
equal deleted inserted replaced
6890:26c1042f2eec 6891:93f82da09f22
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