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-01-19 01:30:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-19 01:30:11 +0400
commitedb358be0e71afbfb4d016cb4efc0f6f87384f90 (patch)
treec8a8ed7482bccf86af19a4f50bb014109c2ab8b2 /io_mesh_raw
parent37db39243afb60a4e997475c9ea479e3d48d536f (diff)
minor adjustments
- dont import * - dont use builtin names for vars - strip trailing white space
Diffstat (limited to 'io_mesh_raw')
-rw-r--r--io_mesh_raw/import_raw.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/io_mesh_raw/import_raw.py b/io_mesh_raw/import_raw.py
index e2cec4fa..7da72823 100644
--- a/io_mesh_raw/import_raw.py
+++ b/io_mesh_raw/import_raw.py
@@ -43,7 +43,7 @@ import bpy
def readMesh(filename, objName):
- file = open(filename, "rb")
+ filehandle = open(filename, "rb")
def line_to_face(line):
# Each triplet is an xyz float
@@ -59,12 +59,12 @@ def readMesh(filename, objName):
return None
faces = []
- for line in file.readlines():
+ for line in filehandle.readlines():
face = line_to_face(line)
if face:
faces.append(face)
- file.close()
+ filehandle.close()
# Generate verts and faces lists, without duplicates
verts = []