diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-25 07:42:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-25 07:42:10 +0400 |
commit | b847fba4910dadf0337ec7f35cf78aa8c1f5aa0b (patch) | |
tree | 7d6d48452e3a52a007b3abc92cdb04233458df33 /io_curve_svg | |
parent | 199da926e833a87c90e817f47bbee9d586d195ae (diff) |
minor pep8 edits
Diffstat (limited to 'io_curve_svg')
-rw-r--r-- | io_curve_svg/import_svg.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py index 56ca68a6..6904e8bc 100644 --- a/io_curve_svg/import_svg.py +++ b/io_curve_svg/import_svg.py @@ -960,9 +960,9 @@ class SVGGeometry: if hasattr(node, 'getAttribute'): defs = context['defines'] - id = node.getAttribute('id') - if id and defs.get('#' + id) is None: - defs['#' + id] = self + attr_id = node.getAttribute('id') + if attr_id and defs.get('#' + attr_id) is None: + defs['#' + attr_id] = self className = node.getAttribute('class') if className and defs.get(className) is None: |