[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38013] trunk/blender: minor pep8 edits

Campbell Barton ideasman42 at gmail.com
Fri Jul 1 14:33:34 CEST 2011


Revision: 38013
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38013
Author:   campbellbarton
Date:     2011-07-01 12:33:34 +0000 (Fri, 01 Jul 2011)
Log Message:
-----------
minor pep8 edits

Modified Paths:
--------------
    trunk/blender/build_files/cmake/cmake_consistency_check.py
    trunk/blender/release/scripts/modules/bpy/__init__.py
    trunk/blender/release/scripts/startup/bl_ui/properties_particle.py
    trunk/blender/release/scripts/startup/bl_ui/space_userpref.py

Modified: trunk/blender/build_files/cmake/cmake_consistency_check.py
===================================================================
--- trunk/blender/build_files/cmake/cmake_consistency_check.py	2011-07-01 12:21:13 UTC (rev 38012)
+++ trunk/blender/build_files/cmake/cmake_consistency_check.py	2011-07-01 12:33:34 UTC (rev 38013)
@@ -26,7 +26,7 @@
 from cmake_consistency_check_config import IGNORE, UTF8_CHECK, SOURCE_DIR
 
 import os
-from os.path import join, dirname, normpath, abspath, splitext
+from os.path import join, dirname, normpath, splitext
 
 print("Scanning:", SOURCE_DIR)
 
@@ -183,7 +183,6 @@
 
 # First do stupid check, do these files exist?
 print("\nChecking for missing references:")
-import sys
 is_err = False
 errs = []
 for f in (global_h | global_c):

Modified: trunk/blender/release/scripts/modules/bpy/__init__.py
===================================================================
--- trunk/blender/release/scripts/modules/bpy/__init__.py	2011-07-01 12:21:13 UTC (rev 38012)
+++ trunk/blender/release/scripts/modules/bpy/__init__.py	2011-07-01 12:33:34 UTC (rev 38013)
@@ -65,4 +65,4 @@
 
 _main()
 
-del _main
\ No newline at end of file
+del _main

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_particle.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_particle.py	2011-07-01 12:21:13 UTC (rev 38012)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_particle.py	2011-07-01 12:33:34 UTC (rev 38013)
@@ -878,7 +878,7 @@
             col.prop(part, "billboard_tilt_random", text="Random", slider=True)
             col = row.column()
             col.prop(part, "billboard_offset")
-            
+
             row = layout.row()
             col = row.column()
             col.prop(part, "billboard_size", text="Scale")

Modified: trunk/blender/release/scripts/startup/bl_ui/space_userpref.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_userpref.py	2011-07-01 12:21:13 UTC (rev 38012)
+++ trunk/blender/release/scripts/startup/bl_ui/space_userpref.py	2011-07-01 12:33:34 UTC (rev 38013)
@@ -883,7 +883,7 @@
             if user_script_path is not None:
                 user_addon_paths.append(os.path.join(user_script_path(), "addons"))
             user_addon_paths.append(os.path.join(bpy.utils.resource_path('USER'), "scripts", "addons"))
-        
+
         for path in user_addon_paths:
             if bpy.path.is_subdir(mod.__file__, path):
                 return True
@@ -1001,9 +1001,8 @@
 
                         for i in range(4 - tot_row):
                             split.separator()
-                        
-                        
 
+
         # Append missing scripts
         # First collect scripts that are used but have no script file.
         module_names = {mod.__name__ for mod, info in addons}




More information about the Bf-blender-cvs mailing list