Code cleanup: unused python vars & imports

Use frosted rather then pyflakes
This commit is contained in:
Campbell Barton
2014-04-25 05:31:20 +10:00
parent 16443b1ae0
commit a15be34389
31 changed files with 24 additions and 61 deletions

View File

@@ -229,9 +229,9 @@ def check(module_name):
def _addon_ensure(module_name):
addons = _user_preferences.addons
addon = _user_preferences.addons.get(module_name)
addon = addons.get(module_name)
if not addon:
addon = _user_preferences.addons.new()
addon = addons.new()
addon.module = module_name