diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-09-16 17:09:14 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-09-16 17:09:33 -0700 |
commit | 13b92d9db4ad37d9550ef5c5abd323a2530a1e72 (patch) | |
tree | 8689f3a3f8b2bbcd49a39012bf1c7bda3aeb271a | |
parent | 2306defc80f56419d07973ceef0a2ed14551f367 (diff) | |
download | zake-13b92d9db4ad37d9550ef5c5abd323a2530a1e72.tar.gz |
Unify the exception messaging for no node found
-rw-r--r-- | zake/fake_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zake/fake_client.py b/zake/fake_client.py index 73992a2..16bf914 100644 --- a/zake/fake_client.py +++ b/zake/fake_client.py @@ -215,7 +215,7 @@ class FakeClient(object): try: (data, znode) = self.storage.get(path) except KeyError: - raise k_exceptions.NoNodeError("No path %s" % (path)) + raise k_exceptions.NoNodeError("Node %s does not exist" % (path)) if watch: with self._watches_lock: self._data_watches[path].append(watch) |