summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@gmail.com>2014-08-30 23:48:36 -0700
committerJoshua Harlow <harlowja@gmail.com>2014-08-30 23:48:36 -0700
commit209c1f7b513c4c467fed04c27e81b9bd91ace1f4 (patch)
treee4a12d2a2ed36354885650ab5f313c6fd912eccb
parent3437642b26bfd5dea75c8bd86b7df8b74c99a89a (diff)
downloadzake-209c1f7b513c4c467fed04c27e81b9bd91ace1f4.tar.gz
Use better named variables
-rw-r--r--zake/fake_storage.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/zake/fake_storage.py b/zake/fake_storage.py
index 8ba4976..d630c26 100644
--- a/zake/fake_storage.py
+++ b/zake/fake_storage.py
@@ -270,9 +270,10 @@ class FakeStorage(object):
def get_children(self, path, only_direct=True):
paths = {}
with self.lock:
- for (k, v) in list(six.iteritems(self._paths)):
- if utils.is_child_path(path, k, only_direct=only_direct):
- paths[k] = v
+ for (other_path, data) in list(six.iteritems(self._paths)):
+ if utils.is_child_path(path, other_path,
+ only_direct=only_direct):
+ paths[other_path] = data
return paths
def get_parents(self, path):