Subversion Repositories basico

Rev

Rev 4 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 74
Line 133... Line 133...
133
        Return widget from cache
133
        Return widget from cache
134
        '''
134
        '''
135
        try:
135
        try:
136
            return self.widgets[name]
136
            return self.widgets[name]
137
        except KeyError:
137
        except KeyError:
138
            #~ self.log.error("Widget '%s' not found" % name)
-
 
139
            #~ return None
-
 
140
            return self.add_widget(name)
138
            return self.add_widget(name)
141
139
142
140
143
    def get_widgets(self):
141
    def get_widgets(self):
144
        return self.widgets
142
        return self.widgets