335 return [str(exc)] |
335 return [str(exc)] |
336 else: |
336 else: |
337 for name, nstat in destinationFiles: |
337 for name, nstat in destinationFiles: |
338 destinationDict[name] = nstat |
338 destinationDict[name] = nstat |
339 |
339 |
340 destinationSet = set(destinationDict.keys()) |
340 destinationSet = set(destinationDict) |
341 sourceSet = set(sourceDict.keys()) |
341 sourceSet = set(sourceDict) |
342 toAdd = sourceSet - destinationSet # add to dev |
342 toAdd = sourceSet - destinationSet # add to dev |
343 toDelete = destinationSet - sourceSet # delete from dev |
343 toDelete = destinationSet - sourceSet # delete from dev |
344 toUpdate = destinationSet.intersection(sourceSet) # update files |
344 toUpdate = destinationSet.intersection(sourceSet) # update files |
345 indentStr = (indentLevel + 1) * indent |
345 indentStr = (indentLevel + 1) * indent |
346 |
346 |