Skip to content

Commit

Permalink
Fixes 'too many values to unpack' exceptoin
Browse files Browse the repository at this point in the history
Change-Id: Ib8c74f2c920b61907766636c26b3508667b95cdd
closes-bug: #1665614
  • Loading branch information
m-kostrzewa committed Feb 21, 2017
1 parent 18e4730 commit 0141e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golang_api.py
Expand Up @@ -283,7 +283,7 @@ def _GenerateGenericMethods(self, ident, file):
parent_type = ""
parents = ident.getParents()
if parents:
(parent, meta) = parents[0]
(parent, meta, _) = parents[0]
quoted_list = map(lambda x: '"%s"' % x, parent.getDefaultFQName())
parent_fqn = ', '.join(quoted_list)
parent_type = parent.getName()
Expand Down

0 comments on commit 0141e84

Please sign in to comment.