def _setfillareaindices(self, value): if value is not None: value = VCS_validation_functions.checkIndicesList( self, 'fillareaindices', value) self._fillareaindices = value
def _setfillareaindices(self,value): if not isinstance(value,(list,tuple)) and value is not None: value=[value,] if value is not None: value = VCS_validation_functions.checkIndicesList(self,'index',value) if value in [ (), []]: raise ValueError, "You cannot set fillarea index to an empty list" self._index = value
def _setfillareaindices(self, value): if not isinstance(value, (list, tuple)) and value is not None: value = [ value, ] if value is not None: value = VCS_validation_functions.checkIndicesList( self, 'index', value) setmember(self, 'index', value)
def _setfillareaindices(self,value): if not isinstance(value,(list,tuple)) and value is not None: value=[value,] if value is not None: value = VCS_validation_functions.checkIndicesList(self,'index',value) setmember(self,'index',value)