Skip to content

Commit

Permalink
Rebalance lines so they are under 100 chars.
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi committed Feb 6, 2019
1 parent 889ddf5 commit 1cc66c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphql_compiler/macros/macro_edge/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def get_only_selection_from_ast(ast):
.format(len(selection_names), selection_names, ast_name))
else:
ast_name = get_human_friendly_ast_field_name(ast)
raise GraphQLInvalidMacroError(u'Expected an AST with exactly one selection, but got one '
u'with no selections. Error near AST node named: {}'
raise GraphQLInvalidMacroError(u'Expected an AST with exactly one selection, but got '
u'one with no selections. Error near AST node named: {}'
.format(ast_name))

return selections[0]
Expand Down

0 comments on commit 1cc66c3

Please sign in to comment.