##// END OF EJS Templates
validation: remove unused raised statement
marcink -
r2906:c4bda4e1 default
parent child Browse files
Show More
@@ -123,8 +123,6 b' class IntegrationScopeType(colander.Sche'
123 else:
123 else:
124 return 'global'
124 return 'global'
125
125
126 raise colander.Invalid(node, '%r is not a valid scope' % appstruct)
127
128 def deserialize(self, node, cstruct):
126 def deserialize(self, node, cstruct):
129 if cstruct is colander.null:
127 if cstruct is colander.null:
130 return colander.null
128 return colander.null
General Comments 0
You need to be logged in to leave comments. Login now