summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@gmail.com>2014-08-31 00:14:46 -0700
committerJoshua Harlow <harlowja@gmail.com>2014-08-31 00:14:46 -0700
commite6fc8c16e67ed9f88fa3bec130edf249fa8b6160 (patch)
tree5db5ff28fb278eea2ea21a917dd81425dd75a985
parent209c1f7b513c4c467fed04c27e81b9bd91ace1f4 (diff)
downloadzake-e6fc8c16e67ed9f88fa3bec130edf249fa8b6160.tar.gz
More use better named variables
-rw-r--r--zake/fake_storage.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/zake/fake_storage.py b/zake/fake_storage.py
index d630c26..8b6f774 100644
--- a/zake/fake_storage.py
+++ b/zake/fake_storage.py
@@ -279,7 +279,7 @@ class FakeStorage(object):
def get_parents(self, path):
paths = {}
with self.lock:
- for (k, v) in list(six.iteritems(self._paths)):
- if utils.is_child_path(k, path, only_direct=False):
- paths[k] = v
+ for (other_path, data) in list(six.iteritems(self._paths)):
+ if utils.is_child_path(other_path, path, only_direct=False):
+ paths[other_path] = data
return paths