# HG changeset patch # User Martin Bornhold # Date 2016-09-26 14:26:54 # Node ID 09e9d36f713cddccdc3dcd09d29b61784d830a9e # Parent 7e3c29b06881b68b8ea0e77ef9d45f25189cdcd1 gists: Fix wrong default value in colander schema. #4243 diff --git a/rhodecode/model/validation_schema/schemas/gist_schema.py b/rhodecode/model/validation_schema/schemas/gist_schema.py --- a/rhodecode/model/validation_schema/schemas/gist_schema.py +++ b/rhodecode/model/validation_schema/schemas/gist_schema.py @@ -177,7 +177,7 @@ class GistSchema(colander.MappingSchema) gist_type = colander.SchemaNode( colander.String(), - missing=Gist.ACL_LEVEL_PUBLIC, + missing=Gist.GIST_PUBLIC, validator=colander.OneOf([Gist.GIST_PRIVATE, Gist.GIST_PUBLIC])) nodes = Nodes()