WIP: temporarily work around the AccessDenied errors after a test failure.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2016-04-05 15:34:50 +01:00 committed by Brian Warner
parent afc7ab43a1
commit 0abe5baaf2

View File

@ -263,8 +263,9 @@ class INotify(PollMixin):
try:
fni.read_changes(self._hDirectory, self._recursive, self._filter)
except WindowsError as e:
if self._check_stop(): return
print "ignoring WindowsError: %s" % (e,)
self._state = STOPPING
if self._check_stop(): return
for info in fni:
path = self._path.preauthChild(info.filename) # FilePath with Unicode path