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-08-25 15:55:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-25 15:55:26 +0400
commit0e2fbe6da195f07ed1f56fcb29b357a4e155253f (patch)
tree4868dc0bc6517856eb91681e4f7118938f35bfab /io_anim_c3d
parentdbb0d5e3c5568ee439340b63d0345d273cbcca1b (diff)
use sets when checking against multiple types
Diffstat (limited to 'io_anim_c3d')
-rw-r--r--io_anim_c3d/import_c3d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_anim_c3d/import_c3d.py b/io_anim_c3d/import_c3d.py
index febdef35..0c8cd8f2 100644
--- a/io_anim_c3d/import_c3d.py
+++ b/io_anim_c3d/import_c3d.py
@@ -183,7 +183,7 @@ class MarkerSet:
(ig, ig, pointIdx,
self.procType) = struct.unpack('BBBB', infile.read(4))
self.procType -= 83
- if self.procType not in (1, 2):
+ if self.procType not in {1, 2}:
# 1(INTEL-PC); 2(DEC-VAX); 3(MIPS-SUN/SGI)
print('Warning: importer was not tested for files from '
'architectures other than Intel-PC and DEC-VAX')