summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a35637f)
raw | patch | inline | side by side (parent: a35637f)
author | sasilver <sasilver@users.sourceforge.net> | |
Sun, 21 Sep 2008 15:10:19 +0000 (15:10 +0000) | ||
committer | sasilver <sasilver@users.sourceforge.net> | |
Sun, 21 Sep 2008 15:10:19 +0000 (15:10 +0000) |
share/extensions/export_gimp_palette.py | patch | blob | history |
index 51b9a950d4d0b45d183701d5d7223042b7d51a3a..f1b4086c01ae41478360038ff958fdbbc430faa3 100644 (file)
walk(child)
def checkStyle(node):
- if node.hasAttributes():
+ if hasattr(node,"hasAttributes") and node.hasAttributes():
sa=node.getAttribute('style')
if sa!='':
styles=simplestyle.parseStyle(sa)