[ https://issues.apache.org/jira/browse/BEAM-4003?focusedWorklogId=112155&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-112155 ]
ASF GitHub Bot logged work on BEAM-4003: ---------------------------------------- Author: ASF GitHub Bot Created on: 15/Jun/18 03:34 Start Date: 15/Jun/18 03:34 Worklog Time Spent: 10m Work Description: tvalentyn commented on a change in pull request #5373: [BEAM-4003] Futurize runners subpackage URL: https://github.com/apache/beam/pull/5373#discussion_r195587167 ########## File path: sdks/python/apache_beam/runners/worker/bundle_processor.py ########## @@ -102,7 +104,7 @@ def __init__(self, operation_name, step_name, consumers, counter_factory, # We must do this manually as we don't have a spec or spec.output_coders. self.receivers = [ operations.ConsumerSet(self.counter_factory, self.step_name, 0, - next(consumers.itervalues()), + next(iter(consumers.values())), Review comment: lets use Let's use `future.utils.itervalues()` here. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 112155) Time Spent: 1h 20m (was: 1h 10m) > Futurize and fix python 2 compatibility for runners subpackage > -------------------------------------------------------------- > > Key: BEAM-4003 > URL: https://issues.apache.org/jira/browse/BEAM-4003 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core > Reporter: Robbe > Assignee: Matthias Feys > Priority: Major > Time Spent: 1h 20m > Remaining Estimate: 0h > -- This message was sent by Atlassian JIRA (v7.6.3#76005)