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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-20 02:17:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-20 02:17:19 +0400
commit98e69124807b9a5e16b617c89347fc77072e9b38 (patch)
tree682b17e9cbd03eb447962f2d6743ad849272e6e3 /release/scripts/modules/blend_render_info.py
parenta8f23a96a4f804bbf8d1ef67acfc4f8a57c319b1 (diff)
style cleanup
Diffstat (limited to 'release/scripts/modules/blend_render_info.py')
-rwxr-xr-xrelease/scripts/modules/blend_render_info.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/modules/blend_render_info.py b/release/scripts/modules/blend_render_info.py
index 5a09f664637..8762ea0e287 100755
--- a/release/scripts/modules/blend_render_info.py
+++ b/release/scripts/modules/blend_render_info.py
@@ -36,14 +36,14 @@ def read_blend_rend_chunk(path):
import struct
- blendfile = open(path, 'rb')
+ blendfile = open(path, "rb")
head = blendfile.read(7)
if head[0:2] == b'\x1f\x8b': # gzip magic
import gzip
blendfile.close()
- blendfile = gzip.open(path, 'rb')
+ blendfile = gzip.open(path, "rb")
head = blendfile.read(7)
if head != b'BLENDER':
@@ -80,7 +80,7 @@ def read_blend_rend_chunk(path):
scene_name = scene_name[:scene_name.index(b'\0')]
try:
- scene_name = str(scene_name, 'utf8')
+ scene_name = str(scene_name, "utf8")
except TypeError:
pass