hauptmech / pysvg

Automatically exported from code.google.com/p/pysvg
0 stars 0 forks source link

.attributes[ should be ._attributes[ in attributes.py #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. image.get_xlink_href() on an image object

What is the expected output? What do you see instead?
AttributeError: image instance has no attribute 'attributes'

What version of the product are you using? On what operating system?
trunk, OS X with Python 2.7.2

Please provide any additional information below.
Several of the attribute classes are still using .attributes rather than 
._attributes. I've attached a patch that should fix the issue on trunk.

Original issue reported on code.google.com by woos...@gmail.com on 30 Aug 2012 at 6:02

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for your effort. Will have a look and apply the patch!

Original comment by kerim.ma...@gmail.com on 5 Nov 2012 at 8:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed and checked into trunk. Will be included in the next release.

Any volunteers to verify the code? ;)

Original comment by kerim.ma...@gmail.com on 5 Nov 2012 at 8:36