mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
get rid of more spew
This commit is contained in:
parent
e9343c8715
commit
1b72683741
@ -226,7 +226,7 @@ class INotify(PollMixin):
|
|||||||
try:
|
try:
|
||||||
fileutil.write(os.path.join(self._path.path, u".ignore-me"), "")
|
fileutil.write(os.path.join(self._path.path, u".ignore-me"), "")
|
||||||
except IOError as e:
|
except IOError as e:
|
||||||
print "ignoring IOError: %s" % (e,)
|
pass
|
||||||
return self.poll(lambda: self._state == STOPPED)
|
return self.poll(lambda: self._state == STOPPED)
|
||||||
|
|
||||||
def watch(self, path, mask=IN_WATCH_MASK, autoAdd=False, callbacks=None, recursive=False):
|
def watch(self, path, mask=IN_WATCH_MASK, autoAdd=False, callbacks=None, recursive=False):
|
||||||
@ -267,7 +267,6 @@ class INotify(PollMixin):
|
|||||||
try:
|
try:
|
||||||
fni.read_changes(self._hDirectory, self._recursive, self._filter)
|
fni.read_changes(self._hDirectory, self._recursive, self._filter)
|
||||||
except WindowsError as e:
|
except WindowsError as e:
|
||||||
print "ignoring WindowsError: %s" % (e,)
|
|
||||||
self._state = STOPPING
|
self._state = STOPPING
|
||||||
|
|
||||||
if self._check_stop():
|
if self._check_stop():
|
||||||
|
Loading…
Reference in New Issue
Block a user