Signed-off-by: Daira Hopwood <daira@jacaranda.org>
def _cleanup(res):
d = defer.succeed(None)
if self.uploader is not None:
+ print "XXX"
d.addCallback(lambda ign: self.uploader.finish(for_tests=True))
d.addCallback(lambda ign: res)
return d
def read_changes(self, hDirectory, recursive, filter):
bytes_returned = DWORD(0)
+ print "here"
r = ReadDirectoryChangesW(hDirectory,
self.buffer,
self.size,
self._state = STARTED
fni.read_changes(self._hDirectory, self._recursive, self._filter)
for info in fni:
+ print info
if self._state == STOPPING:
hDirectory = self._hDirectory
self._callbacks = None