Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-25 07:42:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-25 07:42:10 +0400
commitb847fba4910dadf0337ec7f35cf78aa8c1f5aa0b (patch)
tree7d6d48452e3a52a007b3abc92cdb04233458df33 /io_curve_svg
parent199da926e833a87c90e817f47bbee9d586d195ae (diff)
minor pep8 edits
Diffstat (limited to 'io_curve_svg')
-rw-r--r--io_curve_svg/import_svg.py6
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: