clear some pep8 warnings

This commit is contained in:
Campbell Barton 2010-05-16 12:15:04 +00:00
parent 6e66bfe110
commit 80de1162ee
6 changed files with 20 additions and 16 deletions

@ -380,4 +380,3 @@ def smpte_from_frame(frame, fps=None, fps_base=None):
fps_base = _bpy.context.scene.render.fps_base
return smpte_from_seconds((frame * fps_base) / fps, fps)

@ -22,6 +22,7 @@ import bpy
from bpy.props import *
class SequencerCrossfadeSounds(bpy.types.Operator):
'''Do crossfading volume animation of two selected sound strips.'''
@ -105,6 +106,7 @@ class SequencerCutMulticam(bpy.types.Operator):
context.scene.sequence_editor.active_strip.multicam_source = camera
return {'FINISHED'}
class SequencerDeinterlaceSelectedMovies(bpy.types.Operator):
'''Deinterlace all selected movie sources.'''
@ -126,7 +128,6 @@ class SequencerDeinterlaceSelectedMovies(bpy.types.Operator):
return {'FINISHED'}
def register():
register = bpy.types.register

@ -23,6 +23,8 @@ import bpy
narrowui = bpy.context.user_preferences.view.properties_width_check
#cachetype can be 'PSYS' 'HAIR' 'SMOKE' etc
def point_cache_ui(self, context, cache, enabled, cachetype):
layout = self.layout
@ -103,6 +105,7 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
col.operator("ptcache.free_bake_all", text="Free All Bakes")
col.operator("ptcache.bake_all", text="Update All To Frame").bake = False
def effector_weights_ui(self, context, weights):
layout = self.layout

@ -19,6 +19,7 @@
# <pep8 compliant>
import bpy
def act_strip(context):
try:
return context.scene.sequence_editor.active_strip