simplify _setvalue

This commit is contained in:
2015-12-31 18:20:36 +01:00
parent d0e2b5d8c4
commit ce162280ad
4 changed files with 60 additions and 73 deletions

View File

@ -218,7 +218,7 @@ class MasterSlaves(object):
raise err
return multi
def setitem(self, values, opt, value, path):
def validate(self, values, opt, value, path):
if self.is_master(opt):
masterlen = len(value)
#for regen slave path