Skip to content

Commit

Permalink
Merge pull request protocolbuffers#2996 from xfxyjwf/3.3.x
Browse files Browse the repository at this point in the history
Fix python3 issue.
  • Loading branch information
xfxyjwf authored Apr 21, 2017
2 parents 4523c9c + 478119f commit f418b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/google/protobuf/descriptor_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def AddFileDescriptor(self, file_desc):
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

Expand Down

0 comments on commit f418b9e

Please sign in to comment.