forked from bartvdbraak/blender
Sybren A. Stüvel
d982ea9a9e
When an addon has been removed, but its `.pyc` files are still there, the Python module can still be loaded. However, because `__init__.py` is missing, it becomes a namespace instead of a module, and its `__file__` will be set to `None`. As a result, it's impossible to get the mtime from the file (because there is none). This should not influence any regularly uninstalled add-on, as that would just remove the add-on's directory; I ran into the problem when switching Git branches caused an add-on's Python files to disappear while keeping the `__pycache__` directory around. |
||
---|---|---|
.. | ||
bl_app_override | ||
bl_i18n_utils | ||
bl_keymap_utils | ||
bl_previews_utils | ||
bl_ui_utils | ||
bpy | ||
bpy_extras | ||
console | ||
gpu_extras | ||
addon_utils.py | ||
animsys_refactor.py | ||
bl_app_template_utils.py | ||
blend_render_info.py | ||
bpy_restrict_state.py | ||
bpy_types.py | ||
console_python.py | ||
console_shell.py | ||
graphviz_export.py | ||
keyingsets_utils.py | ||
nodeitems_utils.py | ||
rna_info.py | ||
rna_keymap_ui.py | ||
rna_manual_reference.py | ||
rna_prop_ui.py | ||
rna_xml.py | ||
sys_info.py |