mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Add blank line to check_list (cosmetic).
(imported from commit 20a9eed98846e976c7fa2cfdb43e25e1c43c850d)
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user