minor pep8 edits
authorCampbell Barton <ideasman42@gmail.com>
Fri, 1 Jul 2011 12:33:34 +0000 (12:33 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 1 Jul 2011 12:33:34 +0000 (12:33 +0000)
build_files/cmake/cmake_consistency_check.py
release/scripts/modules/bpy/__init__.py
release/scripts/startup/bl_ui/properties_particle.py
release/scripts/startup/bl_ui/space_userpref.py

index b0fd242db4a22cf9c3614c75fe33424c6ae91927..c13da8775b3d7fd6082d8ee4c85ab5cd1da83fe6 100755 (executable)
@@ -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 @@ def is_ignore(f):
 
 # 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):
index 6dcc5d7b2850cc48ae90458eff0f7331ea130c45..9c48dc89f83992265cb2b4f5507fb9dc135bee08 100644 (file)
@@ -65,4 +65,4 @@ def _main():
 
 _main()
 
-del _main
\ No newline at end of file
+del _main
index 7d4b78396bdfd0e45b8a34c60955f5c823947f4b..4c92296dacdc451a7ea8e1b0e55b089d7a5144f2 100644 (file)
@@ -878,7 +878,7 @@ class PARTICLE_PT_render(ParticleButtonsPanel, bpy.types.Panel):
             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")
index 9c31b172ee96a0ed37a149576f4768b5750b6c2f..c598788006c67a6d2e26e9c284e62f7ed96d583f 100644 (file)
@@ -883,7 +883,7 @@ class USERPREF_PT_addons(bpy.types.Panel):
             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,8 +1001,7 @@ class USERPREF_PT_addons(bpy.types.Panel):
 
                         for i in range(4 - tot_row):
                             split.separator()
-                        
-                        
+
 
         # Append missing scripts
         # First collect scripts that are used but have no script file.