# HG changeset patch # User Marcin Kuzminski # Date 2018-07-19 10:46:53 # Node ID c4bda4e1b5457ec63d432e72530f01b874ebec0c # Parent 62c72b0b069944f371b77f07fcecabfb6044ce1f validation: remove unused raised statement diff --git a/rhodecode/model/validation_schema/schemas/integration_schema.py b/rhodecode/model/validation_schema/schemas/integration_schema.py --- a/rhodecode/model/validation_schema/schemas/integration_schema.py +++ b/rhodecode/model/validation_schema/schemas/integration_schema.py @@ -123,8 +123,6 @@ class IntegrationScopeType(colander.Sche else: return 'global' - raise colander.Invalid(node, '%r is not a valid scope' % appstruct) - def deserialize(self, node, cstruct): if cstruct is colander.null: return colander.null