Merge "Modifying Lambda function tuple usage for python3"
This commit is contained in:
commit
a77cd04149
@ -211,8 +211,10 @@ class Sender(object):
|
|||||||
self.job['policy'], self.suffixes,
|
self.job['policy'], self.suffixes,
|
||||||
frag_index=self.job.get('frag_index'))
|
frag_index=self.job.get('frag_index'))
|
||||||
if self.remote_check_objs is not None:
|
if self.remote_check_objs is not None:
|
||||||
hash_gen = ifilter(lambda (path, object_hash, timestamp):
|
hash_gen = ifilter(
|
||||||
object_hash in self.remote_check_objs, hash_gen)
|
lambda path_objhash_timestamp:
|
||||||
|
path_objhash_timestamp[1] in
|
||||||
|
self.remote_check_objs, hash_gen)
|
||||||
for path, object_hash, timestamp in hash_gen:
|
for path, object_hash, timestamp in hash_gen:
|
||||||
self.available_map[object_hash] = timestamp
|
self.available_map[object_hash] = timestamp
|
||||||
with exceptions.MessageTimeout(
|
with exceptions.MessageTimeout(
|
||||||
|
Loading…
Reference in New Issue
Block a user