From 264472eebe3396fafdb3564424aa9d6273c8c1d3 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Wed, 15 Apr 2015 15:30:00 +0100 Subject: [PATCH] debugging Signed-off-by: Daira Hopwood --- src/allmydata/test/test_drop_upload.py | 1 + src/allmydata/windows/inotify.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/allmydata/test/test_drop_upload.py b/src/allmydata/test/test_drop_upload.py index 724faf27..e86c2613 100644 --- a/src/allmydata/test/test_drop_upload.py +++ b/src/allmydata/test/test_drop_upload.py @@ -73,6 +73,7 @@ class DropUploadTestMixin(GridTestMixin, ShouldFailMixin, ReallyEqualMixin, NonA 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 diff --git a/src/allmydata/windows/inotify.py b/src/allmydata/windows/inotify.py index 1a719f9a..fc2e1d48 100644 --- a/src/allmydata/windows/inotify.py +++ b/src/allmydata/windows/inotify.py @@ -111,6 +111,7 @@ class FileNotifyInformation(object): def read_changes(self, hDirectory, recursive, filter): bytes_returned = DWORD(0) + print "here" r = ReadDirectoryChangesW(hDirectory, self.buffer, self.size, @@ -245,6 +246,7 @@ class INotify(PollMixin): 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 -- 2.45.2