Skip to content

Commit

Permalink
Removed not needed cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Lubimow committed Oct 8, 2017
1 parent 95ed94a commit f1f657d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework/schemas/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def distribute_links(obj):
distribute_links(value)

for link in obj.links:
key = obj.get_next_key(str(link.action))
key = obj.get_next_key(link.action)
obj[key] = link


Expand Down

0 comments on commit f1f657d

Please sign in to comment.