From: Daira Hopwood Date: Wed, 15 Apr 2015 14:30:00 +0000 (+0100) Subject: debugging X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=264472eebe3396fafdb3564424aa9d6273c8c1d3;p=tahoe-lafs%2Ftahoe-lafs.git debugging Signed-off-by: Daira Hopwood --- 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