(self)
| 1768 | self.push('newlocation', 1) |
| 1769 | |
| 1770 | def _end_newlocation(self): |
| 1771 | url = self.pop('newlocation') |
| 1772 | context = self._getContext() |
| 1773 | # don't set newlocation if the context isn't right |
| 1774 | if context is not self.feeddata: |
| 1775 | return |
| 1776 | context['newlocation'] = _makeSafeAbsoluteURI(self.baseuri, url.strip()) |
| 1777 | |
| 1778 | if _XML_AVAILABLE: |
| 1779 | class _StrictFeedParser(_FeedParserMixin, xml.sax.handler.ContentHandler): |
nothing calls this directly
no test coverage detected