eric6/MicroPython/MicroPythonFileManager.py

branch
micropython
changeset 7139
9bb36ec2d1b5
parent 7137
4ed2573947ff
child 7174
de8175253dfc
equal deleted inserted replaced
7138:a2a53535d855 7139:9bb36ec2d1b5
223 destinationFiles = listdirStat(deviceDirectory) 223 destinationFiles = listdirStat(deviceDirectory)
224 for name, nstat in destinationFiles: 224 for name, nstat in destinationFiles:
225 destinationDict[name] = nstat 225 destinationDict[name] = nstat
226 else: 226 else:
227 try: 227 try:
228 destinationFiles = self.__commandsInterface.lls(deviceDirectory, 228 destinationFiles = self.__commandsInterface.lls(
229 fullstat=True) 229 deviceDirectory, fullstat=True)
230 except Exception as exc: 230 except Exception as exc:
231 return [str(exc)] 231 return [str(exc)]
232 if destinationFiles is None: 232 if destinationFiles is None:
233 # the destination directory does not exist 233 # the destination directory does not exist
234 try: 234 try:

eric ide

mercurial