Message231537
| Author |
JocelynJ |
| Recipients |
Avneesh.Chadha, JocelynJ, r.david.murray |
| Date |
2014年11月22日.22:52:19 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1416696740.01.0.771673814399.issue22915@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is a patch to add a test to test_sax.py.
I'm not sure on the fix. Is the following one a correct one ?
def prepareParser(self, source):
if source.getSystemId() is not None:
- self._parser.SetBase(source.getSystemId())
+ self._parser.SetBase(str(source.getSystemId()))
Or should I remove the call to SetBase if getSystemId() is not a string ? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年11月22日 22:52:20 | JocelynJ | set | recipients:
+ JocelynJ, r.david.murray, Avneesh.Chadha |
| 2014年11月22日 22:52:20 | JocelynJ | set | messageid: <1416696740.01.0.771673814399.issue22915@psf.upfronthosting.co.za> |
| 2014年11月22日 22:52:19 | JocelynJ | link | issue22915 messages |
| 2014年11月22日 22:52:19 | JocelynJ | create |
|