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>2010-09-07 19:17:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-07 19:17:42 +0400
commit115b25673832049b746835357d63d8d2dbee5229 (patch)
treeca36db0fe4063108ca5820e1d76ae0496fb88f15 /release/scripts/modules/bpy/ops.py
parente53bbc7ab7568e315dc3cf06dd5e989300c98786 (diff)
ran through pep8 checker
Diffstat (limited to 'release/scripts/modules/bpy/ops.py')
-rw-r--r--release/scripts/modules/bpy/ops.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/modules/bpy/ops.py b/release/scripts/modules/bpy/ops.py
index 223a5a89471..7a824ce2e68 100644
--- a/release/scripts/modules/bpy/ops.py
+++ b/release/scripts/modules/bpy/ops.py
@@ -164,7 +164,7 @@ class bpy_ops_submodule_op(object):
if 'FINISHED' in ret:
import bpy
scene = bpy.context.scene
- if scene: # None in backgroud mode
+ if scene: # None in backgroud mode
scene.update()
else:
for scene in bpy.data.scenes:
@@ -178,14 +178,14 @@ class bpy_ops_submodule_op(object):
'''
return op_get_rna(self.idname())
- def __repr__(self): # useful display, repr(op)
+ def __repr__(self): # useful display, repr(op)
import bpy
idname = self.idname()
as_string = op_as_string(idname)
descr = getattr(bpy.types, idname).bl_rna.description
return as_string + "\n" + descr
- def __str__(self): # used for print(...)
+ def __str__(self): # used for print(...)
return "<function bpy.ops.%s.%s at 0x%x'>" % \
(self.module, self.func, id(self))