Commit f418b9e3 authored by Feng Xiao's avatar Feng Xiao Committed by GitHub

Merge pull request #2996 from xfxyjwf/3.3.x

Fix python3 issue.
parents 4523c9c2 478119fe
......@@ -257,7 +257,7 @@ class DescriptorPool(object):
self._AddFileDescriptor(file_desc)
# TODO(jieluo): This is a temporary solution for FieldDescriptor.file.
# Remove it when FieldDescriptor.file is added in code gen.
for extension in file_desc.extensions_by_name.itervalues():
for extension in file_desc.extensions_by_name.values():
self._file_desc_by_toplevel_extension[
extension.full_name] = file_desc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment