Remove unreachable code from ManualSchema (#5766)

ManualSchema.get_link had two return statements. Prune the second
(unreachable) return.
This commit is contained in:
Jeremy Lainé 2018-01-24 08:52:33 +01:00 committed by Carlton Gibson
parent 78367ba102
commit 588b61e171

View File

@ -456,8 +456,6 @@ class ManualSchema(ViewInspector):
description=self._description description=self._description
) )
return self._link
class DefaultSchema(object): class DefaultSchema(object):
"""Allows overriding AutoSchema using DEFAULT_SCHEMA_CLASS setting""" """Allows overriding AutoSchema using DEFAULT_SCHEMA_CLASS setting"""