Show More
@@ -21,6 +21,5 b' def glob_validator(node, value):' | |||||
21 | try: |
|
21 | try: | |
22 | re.compile('^' + glob2re(value) + '$') |
|
22 | re.compile('^' + glob2re(value) + '$') | |
23 | except Exception: |
|
23 | except Exception: | |
24 | raise |
|
|||
25 | msg = _(u'Invalid glob pattern') |
|
24 | msg = _(u'Invalid glob pattern') | |
26 | raise colander.Invalid(node, msg) |
|
25 | raise colander.Invalid(node, msg) |
General Comments 0
You need to be logged in to leave comments.
Login now