diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-23 08:37:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-23 08:37:56 +0300 |
commit | 783b4cd1ca22de57c98ebcfaeec7a20936a9a621 (patch) | |
tree | 63f51bc835b8558f43a6bf086b9a47c05c6aaedd /release/scripts/modules | |
parent | 22420226537fada6177432c5f48df06c83c10872 (diff) |
PyAPI: use set.discard instead of set-subtraction
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/addon_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/addon_utils.py b/release/scripts/modules/addon_utils.py index 56681e11c8a..d236a59059f 100644 --- a/release/scripts/modules/addon_utils.py +++ b/release/scripts/modules/addon_utils.py @@ -150,7 +150,7 @@ def modules_refresh(module_cache=addons_fake_modules): force_support = None for mod_name, mod_path in _bpy.path.module_names(path): - modules_stale -= {mod_name} + modules_stale.discard(mod_name) mod = module_cache.get(mod_name) if mod: if mod.__file__ != mod_path: |