get rid of more spew

This commit is contained in:
meejah 2016-05-18 22:17:49 -06:00 committed by Brian Warner
parent e9343c8715
commit 1b72683741

View File

@ -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():