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>2012-11-14 16:17:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-14 16:17:05 +0400
commite86e443caf949b6060196fe066756af866617620 (patch)
treef2c855934a0bff630baa14a841269dd67b9f0393 /io_mesh_pdb
parent81ef518e009705d1cfbf4843e06c74553fd26f92 (diff)
use alternate syntax to clear lists
Diffstat (limited to 'io_mesh_pdb')
-rw-r--r--io_mesh_pdb/import_pdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_pdb/import_pdb.py b/io_mesh_pdb/import_pdb.py
index 95a83ae3..54639805 100644
--- a/io_mesh_pdb/import_pdb.py
+++ b/io_mesh_pdb/import_pdb.py
@@ -190,7 +190,7 @@ class StickProp(object):
def read_elements():
- ELEMENTS[:] = []
+ del ELEMENTS[:]
for item in ELEMENTS_DEFAULT: