pep8 checker, mostly pedantic style changes but also found an error in mesh_utils.mesh_linked_faces()

This commit is contained in:
2011-04-01 02:41:15 +00:00
parent 14e94d742e
commit c8652b301f
17 changed files with 44 additions and 49 deletions

View File

@@ -107,7 +107,7 @@ def modules(module_cache):
import traceback
traceback.print_exc()
raise
return mod
else:
return None
@@ -246,7 +246,6 @@ def disable(module_name, default_set=True):
:type module_name: string
"""
import sys
import traceback
import bpy_types as _bpy_types
mod = sys.modules.get(module_name)
@@ -259,6 +258,7 @@ def disable(module_name, default_set=True):
try:
mod.unregister()
except:
import traceback
traceback.print_exc()
else:
print("addon_utils.disable", module_name, "not loaded")