diff options
author | Joshua Harlow <harlowja@gmail.com> | 2014-08-30 23:40:38 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2014-08-30 23:40:38 -0700 |
commit | 03f802dfcb1339303e7c394fb77a07db2f2858da (patch) | |
tree | ed19223ad6fbdfe6ffcaf6936e29ad9903edf3ba | |
parent | 640afed58c7cbb15e026a77577b914bbff961dc2 (diff) | |
download | zake-03f802dfcb1339303e7c394fb77a07db2f2858da.tar.gz |
Always dispatch for all paths (instead of skipping)
-rw-r--r-- | zake/fake_client.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/zake/fake_client.py b/zake/fake_client.py index 8597c59..660d061 100644 --- a/zake/fake_client.py +++ b/zake/fake_client.py @@ -362,15 +362,11 @@ class FakeClient(object): self._data_watches_lock) def _fire_watches(self, paths, event, watch_source, watch_mutate_lock): - dispatched = set() for path in reversed(sorted(paths)): - if path in dispatched: - continue with watch_mutate_lock: watches = list(watch_source.pop(path, [])) for w in watches: self.handler.dispatch_callback(utils.make_cb(w, [event])) - dispatched.add(path) def transaction(self): return FakeTransactionRequest(self) |