Add blank line to check_list (cosmetic).

(imported from commit 20a9eed98846e976c7fa2cfdb43e25e1c43c850d)
This commit is contained in:
Steve Howell
2013-12-18 12:47:32 -05:00
parent 9df608c612
commit be1857ceb3

View File

@@ -48,6 +48,7 @@ def check_list(sub_validator, length=None):
if length is not None and length != len(val):
return '%s should have exactly %d items' % (var_name, length)
for i, item in enumerate(val):
vname = '%s[%d]' % (var_name, i)
error = sub_validator(vname, item)