pep8 cleanup

This commit is contained in:
2010-04-04 14:52:15 +00:00
parent 97454d7b85
commit bc149e0fbe
16 changed files with 59 additions and 53 deletions

View File

@@ -164,9 +164,9 @@ class USERPREF_HT_header(bpy.types.Header):
layout.operator_context = 'EXEC_AREA'
layout.operator("wm.save_homefile", text="Save As Default")
layout.operator_context = 'INVOKE_DEFAULT'
if userpref.active_section == 'INPUT':
op = layout.operator("wm.keyconfig_export")
op.path = "keymap.py"
@@ -175,7 +175,7 @@ class USERPREF_HT_header(bpy.types.Header):
elif userpref.active_section == 'ADDONS':
op = layout.operator("wm.addon_install")
op.path = "*.py"
elif userpref.active_section == 'THEMES':
elif userpref.active_section == 'THEMES':
op = layout.operator("ui.reset_default_theme")