equal
deleted
inserted
replaced
194 for appobjects in self.itervalues(): |
194 for appobjects in self.itervalues(): |
195 try: |
195 try: |
196 yield self._select_best(appobjects, *args, **kwargs) |
196 yield self._select_best(appobjects, *args, **kwargs) |
197 except NoSelectableObject: |
197 except NoSelectableObject: |
198 continue |
198 continue |
199 |
|
200 Don't forget the 'from __future__ import with_statement' at the module |
|
201 top-level if you're using python 2.5. |
|
202 |
199 |
203 This will yield additional WARNINGs, like this:: |
200 This will yield additional WARNINGs, like this:: |
204 |
201 |
205 2009-01-09 16:43:52 - (cubicweb.selectors) WARNING: selector one_line_rset returned 0 for <class 'cubicweb.web.views.basecomponents.WFHistoryVComponent'> |
202 2009-01-09 16:43:52 - (cubicweb.selectors) WARNING: selector one_line_rset returned 0 for <class 'cubicweb.web.views.basecomponents.WFHistoryVComponent'> |
206 |
203 |