(self, property, cap=False)
return self.recursive_lookup(self.master_state, property, cap)
Only works correctly if property is a unique key
Only works correctly if property is a unique key
Only works correctly if property is a unique key
def get_property(self, property, cap=False):
        '''
        Only works correctly if property is a unique key
        '''
        if property in ['cleanSchedule', 'langs']:
            value = self.recursive_lookup(self.master_state, property+'2', cap)
            if value is not None:
                return value
        return self.recursive_lookup(self.master_state, property, cap)
def get_property ( self , property , cap = False ) : if property in [ 'cleanSchedule' , 'langs' ] : value = self . recursive_lookup ( self . master_state , property + '2' , cap ) if value is not None : return value return self . recursive_lookup ( self . master_state , property , cap )