(self, tag, attrsD, defaultContentType, expectingText)
| 1015 | return output |
| 1016 | |
| 1017 | def pushContent(self, tag, attrsD, defaultContentType, expectingText): |
| 1018 | self.incontent += 1 |
| 1019 | if self.lang: |
| 1020 | self.lang=self.lang.replace('_','-') |
| 1021 | self.contentparams = FeedParserDict({ |
| 1022 | 'type': self.mapContentType(attrsD.get('type', defaultContentType)), |
| 1023 | 'language': self.lang, |
| 1024 | 'base': self.baseuri}) |
| 1025 | self.contentparams['base64'] = self._isBase64(attrsD, self.contentparams) |
| 1026 | self.push(tag, expectingText) |
| 1027 | |
| 1028 | def popContent(self, tag): |
| 1029 | value = self.pop(tag) |
no test coverage detected