Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-02-16 11:53:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-16 12:52:09 +0300
commita059f072741d671ad882c44e93f6f62bb38f27d8 (patch)
tree00ebbff11347ce71df6fc034d338ce29913fd9bb /source/blender/nodes/intern
parent36814ddc94b56a66675b854bc0d7485828ddcd31 (diff)
Fix add-on & app-template installation logic for overwriting modules
The logic to remove one Python module before installing another only worked in simple cases where a file replaced a file. - Installing a single file add-on over a Python package with the same name caused an error as the directory isn't empty. - Removing existing module directories from the zip-file did nothing as the directories from the zip-file that end with a slash were compared with directories from `os.listdir` that don't. - `module_filesystem_remove` assumed ZipFile.namelist() was a list of files in the root of the zip-file when it's a list of all files. While I couldn't find any bugs caused by this, it performed checks that don't make sense, comparing files at different depths of the file-system.
Diffstat (limited to 'source/blender/nodes/intern')
0 files changed, 0 insertions, 0 deletions