From 4e61f8a836b0973234765fa302379bc1d7493e34 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 7 Nov 2009 22:07:46 +0000 Subject: [PATCH] pep8 whitespace commit bpy/rna api (no functionality change, just move getting the srna py base into a function) --- release/scripts/modules/bpy_ext/Mesh.py | 16 +++---- release/scripts/modules/bpy_ext/Object.py | 4 +- release/scripts/modules/bpy_ext/__init__.py | 4 +- release/scripts/modules/bpy_ops.py | 10 ++--- release/scripts/modules/bpy_utils.py | 4 +- release/scripts/modules/dynamic_menu.py | 4 +- release/scripts/templates/gamelogic.py | 4 +- release/scripts/templates/gamelogic_basic.py | 4 +- release/scripts/templates/gamelogic_module.py | 4 +- release/scripts/templates/operator.py | 4 +- release/scripts/templates/operator_simple.py | 4 +- release/scripts/ui/properties_data_mesh.py | 4 +- .../ui/properties_object_constraint.py | 14 +++--- release/scripts/ui/space_console.py | 16 +++---- release/scripts/ui/space_info.py | 8 ++-- release/scripts/ui/space_view3d.py | 14 +++--- release/scripts/ui/space_view3d_toolbar.py | 2 +- source/blender/python/intern/bpy_rna.c | 45 ++++++++++++------- 18 files changed, 88 insertions(+), 77 deletions(-) diff --git a/release/scripts/modules/bpy_ext/Mesh.py b/release/scripts/modules/bpy_ext/Mesh.py index 961ff83cc06..c8abb15ae69 100644 --- a/release/scripts/modules/bpy_ext/Mesh.py +++ b/release/scripts/modules/bpy_ext/Mesh.py @@ -4,12 +4,12 @@ # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -19,7 +19,7 @@ def ord_ind(i1,i2): if i1