mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-25 15:41:06 +00:00
remove harmless but irrelevant noise
This commit is contained in:
parent
2d5f175712
commit
49c5a1f8d5
@ -52,9 +52,6 @@ from ..util.eliotutil import (
|
|||||||
validateInstanceOf,
|
validateInstanceOf,
|
||||||
)
|
)
|
||||||
|
|
||||||
TRUE = 0
|
|
||||||
FALSE = 1
|
|
||||||
|
|
||||||
NOT_STARTED = "NOT_STARTED"
|
NOT_STARTED = "NOT_STARTED"
|
||||||
STARTED = "STARTED"
|
STARTED = "STARTED"
|
||||||
STOPPING = "STOPPING"
|
STOPPING = "STOPPING"
|
||||||
@ -210,8 +207,6 @@ class INotify(PollMixin):
|
|||||||
precondition(isinstance(recursive, bool), recursive=recursive)
|
precondition(isinstance(recursive, bool), recursive=recursive)
|
||||||
assert autoAdd == False
|
assert autoAdd == False
|
||||||
|
|
||||||
recursive = False
|
|
||||||
self._recursive = TRUE if recursive else FALSE
|
|
||||||
path_u = path.path
|
path_u = path.path
|
||||||
if not isinstance(path_u, unicode):
|
if not isinstance(path_u, unicode):
|
||||||
path_u = path_u.decode('utf-8')
|
path_u = path_u.decode('utf-8')
|
||||||
@ -222,4 +217,5 @@ class INotify(PollMixin):
|
|||||||
self._watches[path_u] = self._observer.schedule(
|
self._watches[path_u] = self._observer.schedule(
|
||||||
INotifyEventHandler(path_u, mask, self._callbacks[path_u], self._pending_delay),
|
INotifyEventHandler(path_u, mask, self._callbacks[path_u], self._pending_delay),
|
||||||
path=path_u,
|
path=path_u,
|
||||||
recursive=recursive)
|
recursive=False,
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user