James Bunton wrote:
> On 09/07/2006, at 8:36 PM, Sam Morris wrote:
>
>> On Sun, 09 Jul 2006 11:13:54 +1000, James Bunton wrote:
>>> Please visit http://delx.cjb.net/pymsnt for more information, or to
>>> download a tarball.
>>
>> For <http://delx.cjb.net/pymsnt/tarballs/pymsnt-0.11.1.tar.gz>, the
>> server
>> responds with a 403 (forbidden) error.
>>
>> --Sam Morris
>> http://robots.org.uk/
>
>
> Fixed now :)
>
> ---
>
> James
Would it be possible to add the following line to the MSNObject in the
src/tlib/msn/msn.py file?
def parse(self, s):
e = xmlw.parseText(s, True)
""" if parse failed return null object """
if not e:
return
""" """
self.creator = e.getAttribute("Creator")
self.size = int(e.getAttribute("Size"))
self.type = int(e.getAttribute("Type"))
self.location = e.getAttribute("Location")
self.friendly = e.getAttribute("Friendly")
self.sha1d = e.getAttribute("SHA1D")
self.text = s
Every time I install a new version I have to make this change because
for some reason I get the "NoneType has no attribute whatever". I make
the change and everything works ok.